diff --git a/source/ubinstall-gtk.c b/source/ubinstall-gtk.c index 67bde5c..0b3da5d 100644 --- a/source/ubinstall-gtk.c +++ b/source/ubinstall-gtk.c @@ -866,6 +866,9 @@ void yon_main_window_create(main_window *widgets){ gtk_style_context_add_class(gtk_widget_get_style_context(widgets->ConfigurationModeMenuItem),"menuitemmiddle"); gtk_widget_show_all(widgets->ConfigurationModeMenuItem); gtk_menu_shell_prepend(GTK_MENU_SHELL(widgets->menu2),widgets->ConfigurationModeMenuItem); + if (getuid()){ + gtk_widget_set_sensitive(widgets->ConfigurationModeMenuItem,0); + } } {