Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:Update
xfce4-panel-plugin-cpugraph
xfce4-panel-plugin-cpugrap-only-set-color-if-en...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfce4-panel-plugin-cpugrap-only-set-color-if-enabled.patch of Package xfce4-panel-plugin-cpugraph
From 25b2e1e8deec574201092559901d6154dc608ab7 Mon Sep 17 00:00:00 2001 From: Landry Breuil <landry@xfce.org> Date: Mon, 02 Jul 2012 15:12:03 +0000 Subject: Only set bar color if bars are enabled (bug #9071) --- diff --git a/panel-plugin/cpu.c b/panel-plugin/cpu.c index b1030c2..c454124 100644 --- a/panel-plugin/cpu.c +++ b/panel-plugin/cpu.c @@ -517,7 +517,7 @@ void set_color( CPUGraph *base, guint number, GdkColor color ) gtk_widget_modify_bg( base->draw_area, GTK_STATE_INSENSITIVE, &base->colors[0] ); gtk_widget_modify_bg( base->draw_area, GTK_STATE_NORMAL, &base->colors[0] ); } - if( number == 4 ) + if( number == 4 && base->has_bars ) { n = nb_bars( base ); -- cgit v0.9.0.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor