[Goodies-commits] r6668 - in gigolo/trunk: . src

Enrico Troeger enrico at xfce.org
Mon Feb 9 17:58:06 CET 2009


Author: enrico
Date: 2009-02-09 16:58:06 +0000 (Mon, 09 Feb 2009)
New Revision: 6668

Modified:
   gigolo/trunk/ChangeLog
   gigolo/trunk/src/main.c
Log:
Fix missing startup completion notification when "start-in-systray" is used.

Modified: gigolo/trunk/ChangeLog
===================================================================
--- gigolo/trunk/ChangeLog	2009-02-09 15:10:07 UTC (rev 6667)
+++ gigolo/trunk/ChangeLog	2009-02-09 16:58:06 UTC (rev 6668)
@@ -1,3 +1,10 @@
+2009-02-09  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/main.c:
+   Fix missing startup completion notification when
+   "start-in-systray" is used.
+
+
 2009-02-04  Enrico Tröger  <enrico(at)xfce(dot)org>
 
  * src/bookmarkeditdialog.c:

Modified: gigolo/trunk/src/main.c
===================================================================
--- gigolo/trunk/src/main.c	2009-02-09 15:10:07 UTC (rev 6667)
+++ gigolo/trunk/src/main.c	2009-02-09 16:58:06 UTC (rev 6668)
@@ -139,7 +139,9 @@
 	window = gigolo_window_new(settings);
     g_signal_connect(window, "destroy", G_CALLBACK(gtk_main_quit), NULL);
 
-	if (! gigolo_settings_get_boolean(settings, "start-in-systray"))
+	if (gigolo_settings_get_boolean(settings, "start-in-systray"))
+		gdk_notify_startup_complete();
+	else
 		gtk_widget_show(window);
 
 	gtk_main();




More information about the Goodies-commits mailing list