File managers (ROX Deficit)
dumol at gnome.ro
Wed Jul 13 12:25:23 CEST 2005
Benedikt Meurer wrote:
> Misu Moldovan wrote:
>>>Just checked ROX 2.2, and they really use GtkTreeView now. I still had
>>>in mind that they had their own view, even with gtk2. And the fact that
>>>it doesn't look right is based on the problem that they set their own
>>>foreground color for the tree renderers instead of using the color
>>>specified by the users Gtk theme. Same for the selected item color.
>>AFAIK the problem with ROX and Gtk themes has two aspects:
>>1) ROX uses the bg[NORMAL] color where base[NORMAL] should be use; this
>>is solvable in the themes' gtkrc file by defining a custom style. So in
>>a theme with entries that look like this:
> IIRC, this problem affects only the icon view. It's not the only theme
> buglet in the icon view. E.g. selected items in the icon view don't pick
> up the proper selection color for the icon, whereas they do for the text
> below the icon (similar to the problem with selected icons in the list
Indeed, that's how it is.
> But I was talking about the row/item text color. ROX assigns custom
> colors to certain file types by default, which looks kinda odd when
> compared to "normal" Gtk apps (yeah, I know that the coloring can be
> disabled, but as a sane default, it shouldn't be enabled). IMHO if you
> really want this coloring, you should use style properties with a
> fallback on the default color. This way theme designer *can* support
> item coloring _if_ it fits with the rest of the theme.
I see. That's a separate issue, equally interesting. Because as a theme
designer I would like to set colors for things like "new links" or
"visited links" in all GTK apps. But I only know about the obscure
"GtkIMHtml::hyperlink-color" and few apps use that (Gaim comes to mind).
Are there any other ways to specify such colors in a GTK theme? Please
point me to some resources, I'm more than willing to learn about this.
And what happens in real life? Most apps don't implement this obscure
setting and you get hard-coded blue links even in dark themes, which is
horrible because of the lack of contrast (Evolution comes to mind). Some
others might allow you to specify a custom color for links by defining
skins (Mozilla works like that). If you're lucky, the app let's you
define a custom color for the links (Balsa is like that).
>>2) The foreground color for the "Shell comand" entry is hardcoded to
>>black. This i have no idea if it's solvable in gtkrc.
>>Any ideas welcomed, I'm running ROX with a custom dark GTK theme and the
>>only issue I have is with the foreground color of the shell command.
> What "Shell command"?
The "Shell command" option is available in the "Window" menu when you
right-click the background of a ROX filer window. It opens an entry at
the bottom of the filer window in which you may enter commands. Selected
files will be passed as parameters to such a command. It's a neat thing
that I hope you'll consider for inclusion in Thunar. (It's more than
"Open with" because sometime you just want to start an application in
that directory, without any parameters and you don't want to open a
terminal in that directory just for that).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: OpenPGP digital signature
More information about the Xfce