[Xfce4-commits] <xfce4-indicator-plugin:master> bind icon-size-max to xfconf
Mark Trompell
noreply at xfce.org
Fri Mar 23 15:40:12 CET 2012
Updating branch refs/heads/master
to 2bf70a11a8707924c3a2e3cf2ff265a4f0410f9b (commit)
from 971f5197c0508c697803bb640104ab6cea6d9d18 (commit)
commit 2bf70a11a8707924c3a2e3cf2ff265a4f0410f9b
Author: Andrzej <ndrwrdck at gmail.com>
Date: Fri Mar 23 15:22:00 2012 +0100
bind icon-size-max to xfconf
panel-plugin/indicator.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/panel-plugin/indicator.c b/panel-plugin/indicator.c
index 81f4149..e0b2551 100644
--- a/panel-plugin/indicator.c
+++ b/panel-plugin/indicator.c
@@ -105,6 +105,9 @@ indicator_read (IndicatorPlugin *indicator)
gchar * property = g_strconcat (xfce_panel_plugin_get_property_base(indicator->plugin),"/blacklist",NULL);
indicator->excluded_modules = xfconf_channel_get_string_list(channel, property);
g_free (property);
+ property = g_strconcat (xfce_panel_plugin_get_property_base(indicator->plugin),"/icon-size-max",NULL);
+ xfconf_g_property_bind (channel, property, G_TYPE_INT, indicator->buttonbox, "icon-size-max");
+ g_free (property);
/* something went wrong, apply default values */
/*
DBG ("Applying default settings");
More information about the Xfce4-commits
mailing list