Change the active item collor from blue dark

Asked by ValentinV on 2010-05-16

Hello everyone i love kupfer .. it is just great hope you will continue to develop it.

I have a small question :)

How can i change the color for the active item from the BLUE Dark to something else ... I searched all the kupfer filles but haven`t found the color :) i changed the color for thext from light blue to light gray but this one i can`t find

Thank you

Question information

Language:
English Edit question
Status:
Open
For:
kupfer Edit question
Assignee:
No assignee Edit question
Last query:
2010-05-21
Last reply:
2010-05-21

This question was reopened

Hi, the color is set here in kupfer/ui/browser.py line 235:

selectedc = ent.style.bg[gtk.STATE_SELECTED]

the color used is GtkEntry's color for the selected state. Hence, the color is fetched from the GTK theme. You could change it (like the next line) to be something defined instead: gtk.gdk.color_parse("light blue")

ValentinV (valentinverde) said : #2

so the way it is now it should get the collor from the current GTK theme? it doesn`t it would be nice if the color would change with the theme . but for now i will try to change it

Thank you very much .

The color is *derived* from the current GTK theme. It might be incorrectly derived still, it's not optimal. Do you have an example where the color doesn't look good with the theme?

ValentinV (valentinverde) said : #4

http://www.imagebanana.com/view/ll4yzb6v/Selection_001.png
There is no blue in my theme :) but the active tab is blue and also with all other theme the color is the same dark blue

Can you help with this problem?

Provide an answer of your own, or ask ValentinV for more information if necessary.

To post a message you must log in.