Custom colors via ~/.gtkrc-2.0



Hello,

this is a (sort of) follow up to Changing conflict colors in gtk-3
theme topic [1].

My problem is similar to what the original poster stated.  Color
settings for meld in .gtkrc-2.0 in home dir is not taken into account
because application-owned configuration (/usr/share/meld/gtkrc in my
case) always takes a precendence no matter how I set the priority in
.gtkrc-2.0 [*].  However, when I remove that global configuration
file, .gtkrc-2.0 settings are suddenly honored.

This might be a GTK 2+ (or its Python binding) bug or not, however
semantics as presented in [2] seems to prove the former.  Is this user
override working properly for anybody without a need to remove app's
gtkrc first?

I am using gtk2 package at version 2.24.16 (LXDE desktop).  Having
GTK_DEBUG=all in environment haven't shed any light into this; trying
explicit GTK{2,}_RC_FILES=${HOME}/.gtkrc-2.0 brought no change
whatsoever.


As a side question, it looks like default font color (beside
highlighted sections) cannot be changed.  Or can it?
If not, it would be really helpful because font color that is
OK on default background may be unreadable in let's say addition
bubble.


[*] I've learnt about priority notation from [3]; this doesn't seem
    to be a frequented quantifier

[1] https://mail.gnome.org/archives/meld-list/2012-October/msg00013.html
[2] https://developer.gnome.org/gtk2/stable/gtk2-Resource-Files.html#idm140406278418576
[3] http://orford.org/gtk/#gtkrc_files

-- 
Jan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]