[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GTK build doesn't set the `x-toolkit' feature
From: |
Jesper Harder |
Subject: |
Re: GTK build doesn't set the `x-toolkit' feature |
Date: |
Wed, 12 May 2004 03:36:24 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
[Sorry about the long delay]
"Jan D." <address@hidden> writes:
> x-toolkit means uses Xt, which GTK does not. Can you give an
> example of a customization?
A couple of default faces look rather ugly in the non-toolkit build.
For example the gray and 3D appearance of `tool-bar' and `mode-line'
look out-of-place in this flat, black & white world.
> Can you use (featurep 'gtk)?
Not in a `defface'.
> I am not sure exactly what you are trying to do. It seems that such
> customizations would also apply to Mac and W32, but maybe that is
> the intent?
My point is that prior to the GTK option you could distinguish between
the three X builds in a `defface' -- now you can't because the
complement of (type 'x-toolkit) applies to both GTK and the
non-toolkit build.
Maybe `face-spec-set-match-display' should just be changed to
recognize a (type 'gtk) clause,
*** /home/harder/emacs/lisp/faces.el.~1.283.~ Fri Mar 26 16:12:33 2004
--- /home/harder/emacs/lisp/faces.el Wed May 12 03:34:40 2004
***************
*** 1309,1314 ****
--- 1309,1316 ----
(memq 'tty options))
(and (memq 'motif options)
(featurep 'motif))
+ (and (memq 'gtk options)
+ (featurep 'gtk))
(and (memq 'lucid options)
(featurep 'x-toolkit)
(not (featurep 'motif)))
--
Jesper Harder <http://purl.org/harder/>