Re: Deciding whether we're running under Gnome
- From: Havoc Pennington <hp redhat com>
- To: Stefan Monnier <monnier+gmane.comp.gnome.devel/news/@rum.cs.yale.edu>
- Cc: gnome-devel-list gnome org
- Subject: Re: Deciding whether we're running under Gnome
- Date: Sun, 16 Mar 2003 19:59:10 -0500
On Sun, Mar 16, 2003 at 06:32:27AM -0500, Stefan Monnier wrote:
>
>
> How can a program such as Emacs decide whether the user is currently
> using Gnome or not ? Emacs is not itself a Gnome application, but
> it would be good for it to try and obey the user's Gnome settings
> when applicable, but the user's Gnome setting should obviously not
> be obeyed if the user is currently running KDE or yet-something-else.
>
The way we need to do this is that
GTK, Qt, and Emacs should both obey settings stored on the display,
e.g. with XSETTINGS.
See http://www.freedesktop.org/standards/xsettings.html
Emacs in CVS uses GTK though, so you can do it a lot simpler and just
copy the colors etc. from GTK.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]