diff --git a/source/ubinstall-gtk.c b/source/ubinstall-gtk.c index ade6016..86dbda0 100644 --- a/source/ubinstall-gtk.c +++ b/source/ubinstall-gtk.c @@ -836,6 +836,15 @@ void yon_main_window_create(main_window *widgets){ } yon_window_config_load(path); yon_window_config_add_instant_parameter("fullscreen","window",&fullscreen,YON_TYPE_BOOLEAN); + { + widgets->debug_button = yon_debug_button_new(); + GtkWidget *Label = g_object_get_data(G_OBJECT(widgets->debug_button),"Label"); + yon_gtk_widget_set_translation(Label); + gtk_style_context_add_class(gtk_widget_get_style_context(widgets->debug_button),"menuitemmiddle"); + gtk_style_context_remove_class(gtk_widget_get_style_context(widgets->debug_button),"menuitemtop"); + gtk_menu_shell_prepend(GTK_MENU_SHELL(gtk_widget_get_parent(widgets->AboutMenuItem)),widgets->debug_button); + + } { widgets->EnableRDPMenuItem = gtk_menu_item_new(); GtkWidget *Box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL,5); @@ -884,15 +893,6 @@ void yon_main_window_create(main_window *widgets){ gtk_widget_set_sensitive(widgets->ConfigurationModeMenuItem,0); } } - { - widgets->debug_button = yon_debug_button_new(); - GtkWidget *Label = g_object_get_data(G_OBJECT(widgets->debug_button),"Label"); - yon_gtk_widget_set_translation(Label); - gtk_style_context_add_class(gtk_widget_get_style_context(widgets->debug_button),"menuitemmiddle"); - gtk_style_context_remove_class(gtk_widget_get_style_context(widgets->debug_button),"menuitemtop"); - gtk_menu_shell_prepend(GTK_MENU_SHELL(gtk_widget_get_parent(widgets->AboutMenuItem)),widgets->debug_button); - - } { widgets->root_button = yon_root_button_new(main_config.argv,main_config.argc); GtkWidget *Label = g_object_get_data(G_OBJECT(widgets->root_button),"Label");