! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
diskperf bars ignore color preferences
Status:
RESOLVED: FIXED
Product:
Xfce4-diskperf-plugin
Component:
General

Comments

Description Klaus Kusche 2011-06-25 14:45:38 CEST
The bars in the diskperf plugin showing the current disk load
are always shown in light blue on my system (like active window titlebars), 
ignoring the color settings I've made in the preferences of the plugin.

Color preferences for the other bars (system load, net load) work fine.
Comment 1 andrea villa 2011-11-27 12:32:07 CET
a small mod in function SetSingleBarColor in main.c fixes the bug.
add these two lines in the else block:
        poStyle->color_flags[GTK_STATE_SELECTED] |= GTK_RC_BG;
        poStyle->bg[GTK_STATE_SELECTED] = poConf->aoColor[p_iBar];
Comment 2 Landry Breuil editbugs 2012-04-03 15:17:26 CEST
Can you be a bit more precise ? There's no 'else block' in SetSingleBarColor(), do we talk about the same diskperf plugin version ? I think it was fixed in http://git.xfce.org/panel-plugins/xfce4-diskperf-plugin/commit/?id=4d708bb4d2754328c0da6fe62a5b17b579c6f4c8 / bug #7342. I'm going to release 2.4.0 shortly, can you retry with that version ?
Comment 3 Klaus Kusche 2012-04-03 15:28:32 CEST
I don't remember when it was fixed, but the version I currently use works fine
(it uses the colors set in the preferences dialog).

Bug #7766

Reported by:
Klaus Kusche
Reported on: 2011-06-25
Last modified on: 2012-04-13

People

Assignee:
Landry Breuil
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information