[Xfce4-commits] [panel-plugins/xfce4-cpufreq-plugin] 07/07: Fallback to xfce_panel_plugin_save_location
noreply at xfce.org
noreply at xfce.org
Fri Sep 21 15:21:43 CEST 2018
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository panel-plugins/xfce4-cpufreq-plugin.
commit ea18d17a743135d61bfaa1d7c4b8ecbe28e6c7d2
Author: Andre Miranda <andreldm at xfce.org>
Date: Wed Sep 19 23:18:54 2018 -0300
Fallback to xfce_panel_plugin_save_location
---
panel-plugin/xfce4-cpufreq-plugin.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/panel-plugin/xfce4-cpufreq-plugin.c b/panel-plugin/xfce4-cpufreq-plugin.c
index 647ec8a..e886121 100644
--- a/panel-plugin/xfce4-cpufreq-plugin.c
+++ b/panel-plugin/xfce4-cpufreq-plugin.c
@@ -616,6 +616,9 @@ cpufreq_read_config (void)
file = xfce_panel_plugin_lookup_rc_file (cpuFreq->plugin);
if (G_UNLIKELY (!file))
+ file = xfce_panel_plugin_save_location (cpuFreq->plugin, FALSE);
+
+ if (G_UNLIKELY (!file))
return;
rc = xfce_rc_simple_open (file, FALSE);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list