[Xfce4-commits] <xfce4-sensors-plugin:master> color change also works on-the-fly now.
Fabian Nowak
noreply at xfce.org
Thu Mar 25 23:46:01 CET 2010
Updating branch refs/heads/master
to 0bb6eaf37add8ce2452953bad8dd902629364246 (commit)
from be86b20f82b543fb59d5af497620c74fed02327e (commit)
commit 0bb6eaf37add8ce2452953bad8dd902629364246
Author: Fabian Nowak <timystery at arcor.de>
Date: Thu Mar 25 23:45:38 2010 +0100
color change also works on-the-fly now.
panel-plugin/sensors-plugin.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/panel-plugin/sensors-plugin.c b/panel-plugin/sensors-plugin.c
index 3c6c63d..57009cc 100644
--- a/panel-plugin/sensors-plugin.c
+++ b/panel-plugin/sensors-plugin.c
@@ -267,6 +267,7 @@ sensors_update_tacho_panel (t_sensors *sensors)
fraction = sensors_get_percentage (chipfeature);
gtk_cpu_set_value(GTK_CPU(tacho), fraction);
+ gtk_cpu_set_color(GTK_CPU(tacho), chipfeature->color);
}
}
}
More information about the Xfce4-commits
mailing list