oak at helsinkinet.fi
Mon Aug 4 21:33:21 UTC 2008
On Monday 04 August 2008, Jari Rahkonen wrote:
> style "panel"
> bg[NORMAL] = "#d6d6d6"
> xthickness = 0
> ythickness = 0
> widget_class "*Panel*" style "panel"
> widget "*Panel*" style "panel"
> class "*Panel*" style "panel"
AFAIK style specifications like "*name*" are noticeably slower than
specifying things using "*name" or "name*" (because those can be
short-circuited) if there are lot of these style items. As styles are bound
at item creation, e.g. treeviews in file selectors with thousands of items
could get slower enough so that user notices it, at least of slower
(maemo distro has huge gtkrcs for defining styles and they were one of
the reasons why maemo uses maemo-launcher to speed up starting
> I substituted the color you specified in your mail, otherwise that's a
> direct quote from the blog entry. You can find the entry here:
> I don't claim to know the gtkrc format, but it seems you should be able
> to make sure the style is only applied to the xfce panel by using more
> specific widget and style names. That way there would seem to be no
> reason not to include it in the upstream theme. I'd assume that as is
> the theme would be applied to any gtk widget with "Panel" as part of
> it's name. The friendly people on the xfce-dev mailing list would
> probably be able to tell you which widgets you should be interested in.
Maybe xubuntu themes could have separate gtkrc for panel and panel
could load it by itself from current theme (directory)?
More information about the xubuntu-devel