[Xfce4-commits] <xfce4-panel:devel> Implement property saving during binding again.

Nick Schermer noreply at xfce.org
Mon Sep 28 15:58:02 CEST 2009


Updating branch refs/heads/devel
         to a89592ce7080a678e6aa3114508e3b7b21036e51 (commit)
       from 1644b684282ea2fa36dac2c12797c901a36b345d (commit)

commit a89592ce7080a678e6aa3114508e3b7b21036e51
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Sep 28 15:56:00 2009 +0200

    Implement property saving during binding again.

 common/panel-xfconf.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/common/panel-xfconf.c b/common/panel-xfconf.c
index e3317c1..cd524d0 100644
--- a/common/panel-xfconf.c
+++ b/common/panel-xfconf.c
@@ -74,6 +74,10 @@ panel_properties_bind (XfconfChannel       *channel,
       property = g_strconcat (property_base, "/", prop->property, NULL);
       xfconf_g_property_bind (channel, property, prop->type, object, prop->property);
       g_free (property);
+
+      /* notify the property to it gets saved */
+      if (save_properties)
+        g_object_notify (G_OBJECT (object), prop->property);
     }
 }
 



More information about the Xfce4-commits mailing list