[Goodies-commits] r7668 - in xfce4-clipman-plugin/trunk: . panel-plugin

Mike Massonnet mmassonnet at xfce.org
Sat Jul 4 09:10:15 CEST 2009


Author: mmassonnet
Date: 2009-07-04 07:10:15 +0000 (Sat, 04 Jul 2009)
New Revision: 7668

Modified:
   xfce4-clipman-plugin/trunk/ChangeLog
   xfce4-clipman-plugin/trunk/panel-plugin/xfce4-clipman-settings.c
Log:
Return proper error code

Modified: xfce4-clipman-plugin/trunk/ChangeLog
===================================================================
--- xfce4-clipman-plugin/trunk/ChangeLog	2009-07-04 07:00:26 UTC (rev 7667)
+++ xfce4-clipman-plugin/trunk/ChangeLog	2009-07-04 07:10:15 UTC (rev 7668)
@@ -1,11 +1,18 @@
 2009-07-04	Mike Massonnet
+Return proper error code
+
+	- panel-plugin/xfce4-clipman-settings.c:
+		In case the unique command is not handled return
+		UNIQUE_RESPONSE_PASSTHROUGH.
+
+2009-07-04	Mike Massonnet
 Unique settings dialog
 
 	- configure.ac.in:
 		Add optional dependency on libunique.
 	- panel-plugin/xfce4-clipman-settings.c:
-		Make the application unique and send the activate command if a
-		running instance is found to present the existing window.
+		Make the settings dialog unique and send the activate command
+		if a running instance is found to present the existing window.
 
 2009-07-04	Mike Massonnet
 Drop size callback from status icon

Modified: xfce4-clipman-plugin/trunk/panel-plugin/xfce4-clipman-settings.c
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/xfce4-clipman-settings.c	2009-07-04 07:00:26 UTC (rev 7667)
+++ xfce4-clipman-plugin/trunk/panel-plugin/xfce4-clipman-settings.c	2009-07-04 07:10:15 UTC (rev 7668)
@@ -640,8 +640,7 @@
 {
   if (command != UNIQUE_ACTIVATE)
     {
-      g_warning ("Dude?");
-      return;
+      return UNIQUE_RESPONSE_PASSTHROUGH;
     }
 
   gtk_window_present (GTK_WINDOW (dialog));




More information about the Goodies-commits mailing list