Re: gtk widget subclasses and theme/style inheritance



On Wed, 2004-07-07 at 18:20, ext Brian J. Tarricone wrote:

i've written a subclass of GtkImageMenuItem, called XfceAppMenuItem.  
visually, it's the same as GtkImageMenuItem (or at least it's supposed 
to be).  however, it doesn't seem to be inheriting its theme properly.  
if i have a menu with mixed items (some GtkImageMenuItem, some 
XfceAppMenuItem), and i select the "Default" gtk2 theme, the 
GtkImageMenuItem instances have a white text color when the item is 
highlighted, but XfceAppMenuItem keeps its black text when highlighted.  
i've heard reports that something similar happens with some other (but 
not all) themes as well.

I think that's http://bugzilla.gnome.org/show_bug.cgi?id=142417


-- 
Tommi Komulainen <tommi komulainen nokia com>



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