blob: 916492f00fbb5e11c30f00c0774293c94c4ba2b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
From 462e85dfd54e9a3bdf6c330c602a6545bccce585 Mon Sep 17 00:00:00 2001
From: Harald Judt <h.judt@gmx.at>
Date: Wed, 20 Feb 2013 14:25:09 +0000
Subject: Fix color parsing when reading config file.
This turned out to be a stupid copy & paste mistake.
---
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);
--
cgit v0.9.1
|