summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorNick Schermer <nick@xfce.org>2010-02-26 14:08:30 +0100
committerNick Schermer <nick@xfce.org>2010-02-26 14:11:53 +0100
commitc4afba0c0265dfc0b4ea7ec481b8402e4062437b (patch)
treed4ac0681dfdcfb9bf7eb1cb1a5629ced62c53a13 /common
parentee04793db7e7dc2e4b284fdedc2871dc8e19eff1 (diff)
downloadxfce4-panel-c4afba0c0265dfc0b4ea7ec481b8402e4062437b.tar.gz
Allow custom names for the Xfconf channel.
You can override the default Xfconf channel name with the XFCE_PANEL_CHANNEL_NAME environment variable. Also rename the macro to a more suitable name.
Diffstat (limited to 'common')
-rw-r--r--common/panel-xfconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/panel-xfconf.c b/common/panel-xfconf.c
index fe85ccc0..ccae3ae0 100644
--- a/common/panel-xfconf.c
+++ b/common/panel-xfconf.c
@@ -74,7 +74,7 @@ panel_properties_get_channel (GObject *object_for_weak_ref)
return NULL;
}
- channel = xfconf_channel_get (XFCE_PANEL_PLUGIN_CHANNEL_NAME);
+ channel = xfconf_channel_get (XFCE_PANEL_CHANNEL_NAME);
g_object_weak_ref (object_for_weak_ref, (GWeakNotify) xfconf_shutdown, NULL);
return channel;