! 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 !
Text does not turn light with dark themes
Status:
RESOLVED: INVALID
Product:
Xfce4-sensors-plugin
Component:
General

Comments

Description Pariksheet Nanda 2008-05-25 20:39:50 CEST
Pretty straight forward, see URL for a snapshot.

Tried on several different midnight themes.
Comment 1 Pariksheet Nanda 2008-05-25 20:58:04 CEST
The CPU temperature by default is in Black, but it does not change to white using the dark theme.
Comment 2 Fabian Nowak editbugs 2008-06-27 18:36:48 CEST
I am not quite sure whether I really want to turn the default of black into the default foreground of the theme, especially as nowadays each sensors class has its own color assigned semi-dynamically. And from the very first versions on, colors could be adapted easily anyway.

Any more opinions on this?
Comment 3 Pariksheet Nanda 2009-02-01 18:39:56 CET
Created attachment 2139 
./panel-plugin/sensors-plugin.c

Failed attempt
Comment 4 Pariksheet Nanda 2009-02-01 18:41:05 CET
This is embarrasing; I actually didn't notice I could edit the temperature in
Sensor plugin > Properties and double-clicking.

On a tangent, could the "Sensors" text label be set it to the theme's fg?  I
think code should be:

gtk_widget_modify_fg(sensors->panel_label_text, GTK_STATE_NORMAL, NULL);

But I can't manage to apply this (what I've tried with 0.10.99.6 is in attached
patch)
Comment 5 Fabian Nowak editbugs 2010-03-30 17:06:16 CEST
theme-independent concept of colours in sensors-plugin solves the issue automatically.

Bug #4113

Reported by:
Pariksheet Nanda
Reported on: 2008-05-25
Last modified on: 2010-03-30

People

Assignee:
Xfce-Goodies Maintainers
CC List:
1 user

Version

Version:
unspecified

Attachments

./panel-plugin/sensors-plugin.c (2.15 KB, patch)
2009-02-01 18:39 CET , Pariksheet Nanda
no flags

Additional information