[Xfce4-commits] [panel-plugins/xfce4-mount-plugin] 01/06: Fix bug 13624 by not trying to save when closing the plugin, but already and only when closing the settings dialog

noreply at xfce.org noreply at xfce.org
Mon Oct 1 20:34:43 CEST 2018


This is an automated email from the git hooks/post-receive script.

t   i   m   y   s   t   e   r   y       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-mount-plugin.

commit 39c3ab4db35cd3efdb6eec2d8ec04fa0edb6ccdc
Author: Fabian <timystery at arcor.de>
Date:   Fri Sep 28 23:21:25 2018 +0200

    Fix bug 13624 by not trying to save when closing the plugin, but already and only when closing the settings dialog
---
 panel-plugin/mount-plugin.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/mount-plugin.c b/panel-plugin/mount-plugin.c
index bbec7d5..cc9cbc4 100644
--- a/panel-plugin/mount-plugin.c
+++ b/panel-plugin/mount-plugin.c
@@ -1074,8 +1074,10 @@ mount_construct (XfcePanelPlugin *plugin)
 
     g_signal_connect (plugin, "free-data", G_CALLBACK (mounter_free), mounter);
 
-    g_signal_connect (plugin, "save", G_CALLBACK (mounter_write_config),
-                      mounter);
+/* superfluous, as potential race condition with too fast shutdown of the panel exists;
+ * and unnecessary because stuff is saved when closing the settings dialog */
+/*    g_signal_connect (plugin, "save", G_CALLBACK (mounter_write_config),
+                      mounter);*/
 
     xfce_panel_plugin_menu_show_configure (plugin);
     g_signal_connect (plugin, "configure-plugin",

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list