Xfce Wiki

Sub domains
 
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGraeme Gott <graeme@gottcode.org>2015-02-11 12:39:08 -0500
committerGraeme Gott <graeme@gottcode.org>2015-02-11 12:39:08 -0500
commita920ed3b5851339f4cc6f3c872de312c07ee7140 (patch)
tree5666db3e96b5beb233ab0305f4c6b627cf2aee1a
parent9e0026dc374034a74349cf6601e814607058b98a (diff)
downloadxfce4-whiskermenu-plugin-a920ed3b5851339f4cc6f3c872de312c07ee7140.tar.gz
Load default settings from XDG location.
-rw-r--r--panel-plugin/plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/panel-plugin/plugin.cpp b/panel-plugin/plugin.cpp
index b58ad1e..a776474 100644
--- a/panel-plugin/plugin.cpp
+++ b/panel-plugin/plugin.cpp
@@ -101,7 +101,7 @@ Plugin::Plugin(XfcePanelPlugin* plugin) :
// Load settings
wm_settings = new Settings;
wm_settings->button_title = get_button_title_default();
- wm_settings->load(g_strconcat(DATADIR, "/xfce4/whiskermenu/defaults.rc", NULL));
+ wm_settings->load(xfce_resource_lookup(XFCE_RESOURCE_CONFIG, "xfce4/whiskermenu/defaults.rc"));
wm_settings->load(xfce_panel_plugin_lookup_rc_file(m_plugin));
m_opacity = wm_settings->menu_opacity;