[Xfce4-commits] <xfce4-calculator-plugin:master> * panel-plugin/calculator.c (calc_read_config): Use xfce_panel_plugin_lookup_rc_file() instead of xfce_panel_plugin_save_location() to find rc file.

Erik Edelmann noreply at xfce.org
Tue Jun 29 22:50:19 CEST 2010


Updating branch refs/heads/master
         to b722e4224536e9308e87e5fe59494fcf4f8f262c (commit)
       from 2281a8beeaabca68e62d5d7d8300fc9bec3ef101 (commit)

commit b722e4224536e9308e87e5fe59494fcf4f8f262c
Author: Erik Edelmann <erik_e at iki.fi>
Date:   Sat Apr 3 18:35:22 2010 +0300

    * panel-plugin/calculator.c (calc_read_config): Use
      xfce_panel_plugin_lookup_rc_file() instead of
      xfce_panel_plugin_save_location() to find rc file.

 panel-plugin/calculator.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/calculator.c b/panel-plugin/calculator.c
index e1f6212..335c705 100644
--- a/panel-plugin/calculator.c
+++ b/panel-plugin/calculator.c
@@ -88,7 +88,7 @@ static void calc_read_config(CalcPlugin *calc)
     XfceRc *rc;
     gchar *file;
 
-    file = xfce_panel_plugin_save_location(calc->plugin, TRUE);
+    file = xfce_panel_plugin_lookup_rc_file(calc->plugin);
 
     if (file) {
         rc = xfce_rc_simple_open(file, TRUE);



More information about the Xfce4-commits mailing list