Re: Themes
- From: Federico Mena Quintero <federico ximian com>
- To: Murray Cumming <murrayc murrayc com>
- Cc: "desktop-devel-list gnome org" <desktop-devel-list gnome org>
- Subject: Re: Themes
- Date: Wed, 14 Jul 2004 21:12:55 -0500
On Wed, 2004-07-14 at 14:45 +0200, Murray Cumming wrote:
> And in case anybody didn't notice the first time, Industrial (no idea
> about SmoothGnome) does not work properly with several applications,
> such as Yelp and applications written with gtkmm, pygtk, and Gtk#:
> http://bugzilla.gnome.org/show_bug.cgi?id=142417
See the mail I sent to gtk-devel-list yesterday:
http://mail.gnome.org/archives/gtk-devel-list/2004-July/msg00113.html
Owen and I discussed this yesterday over IRC, and came to the conclusion
that
1. Yes, it's a bug. We can't change the behavior right now, though, as
we are in a stable branch.
2. It would be great if someone could cook a patch to allow this syntax:
widget_class "*.<GtkFoo>.*" style "blah"
Having a type name between angle brackets would mean that the RC system
would match for that class or subclasses.
According to Owen, (2) is a bit hard to do efficiently. Some time ago
RC lookups were measured to be expensive, and then they got faster. We
don't want to make things slow again.
While we wait for someone to fix (2), a temporary work-around is to put
something like this in themes:
widget_class "*MenuItem.*" style "style-for-menu-items"
(Note that there is no dot after the first asterisk.) This will match
GtkMenuItem, GtkCheckMenuItem, FooMenuItem, etc. If language bindings
generate their glue classes with appropriate names, they will work.
[I need to add a summary to the bug's comments...]
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]