Do not set it modal as ... who knows. At least in the fully static build during
authorshort <>
Sat, 9 Jul 2005 03:49:40 +0000 (03:49 +0000)
committershort <>
Sat, 9 Jul 2005 03:49:40 +0000 (03:49 +0000)
  on_AutostartCheckButton_toggled() we get reported the messages twice and
  application immediately gtk_main_quit() even the second (toplevel)
  gtk_main().

src/ui-gnome.c

index 38bb755..75182f9 100644 (file)
@@ -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)