Mercurial > hg > xemacs-beta
view lisp/gnome.el @ 711:5be46355cc42
[xemacs-hg @ 2001-12-23 01:01:45 by wmperry]
2001-12-13 William M. Perry <wmperry@gnu.org>
* gtk-faces.el (gtk-init-device-faces): Better way of munging the
default faces from a style. Do not use 'device' as the locale
when setting it, or it makes it very difficult for a user to
override. Now munges highlight, zmacs-region, and toolbar from
the appropriate information in the default GtkStyle for the
device.
* gui.el (gui-button-face): Ditto.
* faces.el (text-cursor):
(highlight):
(zmacs-region):
(list-mode-item-selected):
(primary-selection):
(secondary-selection):
(isearch):
(isearch-secondary): Condense old window-system specific settings
into one specifier using the 'win default' tags.
* dialog-gtk.el (popup-builtin-question-dialog): Deal gracefully
with buttons of length 1, 2, and 3. Fixed yes-or-no-p lossage.
author | wmperry |
---|---|
date | Sun, 23 Dec 2001 01:01:46 +0000 |
parents | 7039e6323819 |
children | db7068430402 |
line wrap: on
line source
(globally-declare-fboundp '(gtk-type-from-name gtk-import-function-internal gtk-call-function)) (defvar gnome-init-called nil) (defun gnome-init (app-id app-version argv) (mapc 'dll-load '("libgnomesupport.so" "libgnome.so" "libgnomeui.so" "libesd.so" "libaudiofile.so" "libart_lgpl.so")) (if (and (not (noninteractive)) (not gnome-init-called) (= (gtk-type-from-name "GnomeApp") 0)) (prog1 (gtk-call-function (gtk-import-function-internal 'gint "gnome_init" '(GtkString GtkString gint GtkArrayOfString)) (list app-id app-version (length argv) argv)) (setq gnome-init-called t)))) (require 'gnome-widgets) (provide 'gnome)