Updating branch refs/heads/master
         to 462e85dfd54e9a3bdf6c330c602a6545bccce585 (commit)
       from 69842d364cc2dc453445926e4cdf036ab245b871 (commit)

commit 462e85dfd54e9a3bdf6c330c602a6545bccce585
Author: Harald Judt <[email protected]>
Date:   Wed Feb 20 15:25:09 2013 +0100

    Fix color parsing when reading config file.
    
    This turned out to be a stupid copy & paste mistake.

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

diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index 710c33c..4a2e3c3 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -884,7 +884,7 @@ xfceweather_read_config(XfcePanelPlugin *plugin,
 
     value = xfce_rc_read_entry(rc, "scrollbox_color", NULL);
     if (value)
-        gdk_color_parse("#rrrrggggbbbb", &(data->scrollbox_color));
+        gdk_color_parse(value, &(data->scrollbox_color));
 
     data->scrollbox_use_color =
         xfce_rc_read_bool_entry(rc, "scrollbox_use_color", FALSE);
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to