[Thunar-dev] Location Bar ala Firefox

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Sat Mar 19 11:25:52 CET 2005


Benedikt Meurer wrote:
>>> Hm, how about one of these?
>>>
>>> http://www.xfce.org/~benny/tmp/20050319-thunar_go1.png
>>> http://www.xfce.org/~benny/tmp/20050319-thunar_go2.png
>>>
>>> Because having both the close and the go button in front of the entry 
>>> widget looks really odd to me.
>>
>> (1) is much better than (2). Not sure it is necessary yet. The firefox 
>> way with the button inside the entry would be best, but probably not 
>> really possible with regular gtk.
> 
> It's doable with a custom ThunarEntry class, derived from GtkEntry. But 
> that'll mess with themes completely (I still think this is about the 
> worst bug in Gtk, that derived classes do not inherit the parent class' 
> style settings).

Hm, I wrote a simple test program to demonstrate this behaviour:

http://www.xfce.org/~benny/tmp/thunar-entry-20050319.tar.gz

Check for example with "Metal" theme.

While I'm thinking about this and checking the Gtk source, I come to the 
conclusion that it's more of a problem on the theme side than in Gtk.

Benedikt



More information about the Thunar-dev mailing list