! 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 !
Change bar colors
Status:
RESOLVED: FIXED
Product:
Xfce4-cpugraph-plugin
Component:
General

Comments

Description Sabi 2012-05-20 19:56:30 CEST
Created attachment 4441 
Patch implementing this functionality

In some XFCE skin configurations (like the last xubuntu's default) the foreground color and background color for the bars are almost the same (near black).
This plugin uses the default color for the progress bar and there's no way to change it. (This was reported here [1])

I modified the code to add an option to change the color for the bars in the settings window. Attached to this bug report you have my patch for it. Feel free to apply it. =)

[1] https://bugs.launchpad.net/ubuntu/+source/xfce4-cpugraph-plugin/+bug/990830
Comment 1 Landry Breuil editbugs 2012-06-24 16:41:29 CEST
Applied in fb8f36e (with only a small tweak, i made the default gold yellow instead of blue), thanls!

I would have preferred defaulting (if not set by the user) to the color set by the gtk theme, i'll see if it's possible with gtk_widget_get_style()..

Bug #8923

Reported by:
Sabi
Reported on: 2012-05-20
Last modified on: 2012-06-24

People

Assignee:
Florian Rivoal
CC List:
1 user

Version

Attachments

Additional information