be936455a990f40638610f34814977b8e20d9f9c
[gentoo.git] /
1 From 09a9a4fdec9ee709bd3da2be2ba1cf13e4e377e1 Mon Sep 17 00:00:00 2001
2 From: Harald Judt <h.judt@gmx.at>
3 Date: Wed, 20 Feb 2013 15:25:09 +0100
4 Subject: [PATCH] Fix color parsing when reading config file.
5
6 This turned out to be a stupid copy & paste mistake.
7
8 (cherry picked from commit 462e85dfd54e9a3bdf6c330c602a6545bccce585)
9 ---
10  panel-plugin/weather.c | 2 +-
11  1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
14 index 710c33c..4a2e3c3 100644
15 --- a/panel-plugin/weather.c
16 +++ b/panel-plugin/weather.c
17 @@ -884,7 +884,7 @@ xfceweather_read_config(XfcePanelPlugin *plugin,
18  
19      value = xfce_rc_read_entry(rc, "scrollbox_color", NULL);
20      if (value)
21 -        gdk_color_parse("#rrrrggggbbbb", &(data->scrollbox_color));
22 +        gdk_color_parse(value, &(data->scrollbox_color));
23  
24      data->scrollbox_use_color =
25          xfce_rc_read_bool_entry(rc, "scrollbox_use_color", FALSE);
26 -- 
27 2.1.2
28