Re: Submenu hysteresis patch

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
> application?

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 /
       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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]