[Xfce4-commits] [apps/xfce4-taskmanager] 21/21: Fix CPU and memory color labels in Gtk3

noreply at xfce.org noreply at xfce.org
Thu Jan 26 22:59:25 CET 2017


This is an automated email from the git hooks/post-receive script.

ochosi pushed a commit to branch master
in repository apps/xfce4-taskmanager.

commit a211e03f3db6597401254b8020429df79c79b6b2
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Thu Jan 26 22:36:12 2017 +0100

    Fix CPU and memory color labels in Gtk3
---
 src/process-statusbar.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/process-statusbar.c b/src/process-statusbar.c
index 3bb7e34..56e01e5 100644
--- a/src/process-statusbar.c
+++ b/src/process-statusbar.c
@@ -163,7 +163,7 @@ xtm_process_statusbar_set_property (GObject *object, guint property_id, const GV
 		gtk_label_set_text (GTK_LABEL (statusbar->label_memory), text);
 #if GTK_CHECK_VERSION(3, 0, 0)
 		gdk_rgba_parse (&color, "#ab1852");
-		gtk_widget_override_color (statusbar->label_cpu, GTK_STATE_NORMAL, &color);
+		gtk_widget_override_color (statusbar->label_memory, GTK_STATE_NORMAL, &color);
 #else
 		gdk_color_parse ("#ab1852", &color);
 		gtk_widget_modify_fg (statusbar->label_memory, GTK_STATE_NORMAL, &color);
@@ -205,4 +205,3 @@ xtm_process_statusbar_new (void)
 {
 	return g_object_new (XTM_TYPE_PROCESS_STATUSBAR, NULL);
 }
-

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list