Re: Submenu hysteresis patch
- From: Nils Philippsen <nils redhat de>
- To: David Santiago <mrcooger cyberverse com>
- Cc: gtk-devel-list redhat com
- Subject: Re: Submenu hysteresis patch
- Date: Thu, 6 Jul 2000 10:29:06 +0200 (CEST)
On Thu, 6 Jul 2000, David Santiago wrote:
> On Thu, 6 Jul 2000, Nils Philippsen wrote:
> > Hmmm, 'til then something along this should do it (warning: pseudo code, I
> > don't really know what I'm talking about when it comes to thread safety,
> > one probably would have to do something with GMutex'es):
> > ...
> > Nils
> Well, I'm not really confused about how to implement it, I'm just
> wondering what that means. Does that mean someone can take it upon
> themselves to change the submenu hysteresis timeout from their own
One could do that, yes (but that would be a sign of bad manners). But this
value should come from gtkrc or equivalent.
> I certainly don't want that. Does it mean they can change it for
> specific menus?
Not at all.
> That doesn't seem correct either... How do you keep this so that it's
> used only for global configuration (by GNOME, say)?
In GNOME we have the gnome-config routines to store and retrieve
configuration values (regardless of whether that's something global or
"local" to an application). Ideally such a thing or a reasonable subset
would be in glib.
Of course at some point the value has to be read, either by gtk in
gtk_init() (if such a config thing were in glib) or by GNOME in
Nils Philippsen / +49.711.96437.250 / firstname.lastname@example.org
Red Hat GmbH / Hauptstätter Straße 58 / D70178 Stuttgart
The use of COBOL cripples the mind; its teaching should, therefore, be
regarded as a criminal offence. -- Edsger W. Dijkstra
] [Thread Prev