X-Git-Url: http://git.jankratochvil.net/?p=udpgate.git;a=blobdiff_plain;f=src%2Fui-gnome.c;fp=src%2Fui-gnome.c;h=75182f9ec4757a89f2c26f38a318a56e3b637d67;hp=38bb7551cf4dab9fa1998da42f36ef72cd319745;hb=4e21ae021fecaa14f68c61324d66a374f0f3038f;hpb=e43e6e881408ceb04da133e5a3027a54d168cd68 diff --git a/src/ui-gnome.c b/src/ui-gnome.c index 38bb755..75182f9 100644 --- a/src/ui-gnome.c +++ b/src/ui-gnome.c @@ -223,10 +223,17 @@ GtkWidget *dialog; else dialog=gnome_app_message(App,message); + /* Do not set it modal as ... who knows. At least in the fully static + * build during on_AutostartCheckButton_toggled() we get reported + * the messages twice and application immediately gtk_main_quit() + * even the second (toplevel) gtk_main(). + */ +#if 0 gtk_window_set_modal(GTK_WINDOW(dialog),TRUE); g_signal_connect((gpointer)dialog,"close",G_CALLBACK(gtk_main_quit),NULL); gtk_main(); /* 'dialog' gets destroyed automatically */ +#endif } static void ui_gnome_interactive(void)