[Xfce4-commits] <xfce4-eyes-plugin:master> Write config file when closing config dialog (bug #9035).

Harald Judt noreply at xfce.org
Wed Feb 27 19:44:03 CET 2013


Updating branch refs/heads/master
         to 5ea3c5f63cf2428e77b8a3dbb1004ddd502b0328 (commit)
       from 2026158e64e961b042076a527cd923d1a606d282 (commit)

commit 5ea3c5f63cf2428e77b8a3dbb1004ddd502b0328
Author: Harald Judt <h.judt at gmx.at>
Date:   Tue Feb 26 20:33:14 2013 +0100

    Write config file when closing config dialog (bug #9035).

 panel-plugin/eyes.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/panel-plugin/eyes.c b/panel-plugin/eyes.c
index b0073ed..b1c06af 100644
--- a/panel-plugin/eyes.c
+++ b/panel-plugin/eyes.c
@@ -44,6 +44,13 @@
 #define UPDATE_TIMEOUT 100
 
 
+/***************************
+ *** Function Prototypes ***
+ ***************************/
+static void eyes_write_rc_file (XfcePanelPlugin *plugin,
+                                EyesPlugin      *eyes);
+
+
 /*****************************
  *** Eyes Plugin Functions ***
  *****************************/
@@ -249,6 +256,8 @@ eyes_properties_dialog_response (GtkWidget  *dlg,
 {
     xfce_panel_plugin_unblock_menu (eyes->plugin);
 
+    eyes_write_rc_file (eyes->plugin, eyes);
+
     gtk_widget_destroy (dlg);
 }
 


More information about the Xfce4-commits mailing list