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

Mike Massonnet mmassonnet at xfce.org
Thu Jul 2 15:47:25 CEST 2009


Author: mmassonnet
Date: 2009-07-02 13:47:25 +0000 (Thu, 02 Jul 2009)
New Revision: 7652

Modified:
   xfce4-clipman-plugin/trunk/ChangeLog
   xfce4-clipman-plugin/trunk/panel-plugin/main-status-icon.c
Log:
Set autostart file to false when user drops clipman from the notification area

Modified: xfce4-clipman-plugin/trunk/ChangeLog
===================================================================
--- xfce4-clipman-plugin/trunk/ChangeLog	2009-07-02 13:45:12 UTC (rev 7651)
+++ xfce4-clipman-plugin/trunk/ChangeLog	2009-07-02 13:47:25 UTC (rev 7652)
@@ -1,4 +1,7 @@
 2009-07-02	Mike Massonnet
+Set autostart file to false when user drops clipman from the notification area
+
+2009-07-02	Mike Massonnet
 Forgot to use plugin.h in main-panel-plugin.c
 
 2009-07-01	Mike Massonnet

Modified: xfce4-clipman-plugin/trunk/panel-plugin/main-status-icon.c
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/main-status-icon.c	2009-07-02 13:45:12 UTC (rev 7651)
+++ xfce4-clipman-plugin/trunk/panel-plugin/main-status-icon.c	2009-07-02 13:47:25 UTC (rev 7652)
@@ -154,12 +154,7 @@
 static void
 cb_status_icon_quit (MyPlugin *plugin)
 {
-  gint res;
-  res = xfce_message_dialog (NULL, _("Autostart Clipman"), GTK_STOCK_DIALOG_QUESTION,
-                             _("Autostart Clipman"), _("Do you want to restart the clipboard manager the next time you login?"),
-                             GTK_STOCK_YES, GTK_RESPONSE_YES, GTK_STOCK_NO, GTK_RESPONSE_NO, NULL);
-  update_autostart_file (res == GTK_RESPONSE_YES);
-
+  update_autostart_file (FALSE);
   gtk_status_icon_set_visible (plugin->status_icon, FALSE);
   gtk_main_quit ();
 }




More information about the Goodies-commits mailing list