[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 458/473: Load default settings from XDG location.

noreply at xfce.org noreply at xfce.org
Tue Feb 17 00:00:28 CET 2015


This is an automated email from the git hooks/post-receive script.

gottcode pushed a commit to branch master
in repository panel-plugins/xfce4-whiskermenu-plugin.

commit a920ed3b5851339f4cc6f3c872de312c07ee7140
Author: Graeme Gott <graeme at gottcode.org>
Date:   Wed Feb 11 12:39:08 2015 -0500

    Load default settings from XDG location.
---
 panel-plugin/plugin.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list