Mercurial > hg > xemacs-beta
view lisp/gtk-package.el @ 4372:ebb35ddea76a
Byte-compile menu lambdas; make the menu of available tutorials more readable.
2007-12-31 Aidan Kehoe <kehoea@parhasard.net>
* menubar-items.el (default-menubar):
Byte compile the specified lambdas. Correct some compile time
warnings uncovered by this.
* menubar-items.el (tutorials-menu-filter):
If a language environment doesn't have an associated POSIX locale
specified--which indicates we don't want it used except by those
who know what they're doing--don't show its tutorial in the menu.
* behavior.el (behavior-menu-filter):
Byte compile the lambdas in the generated menu.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Mon, 31 Dec 2007 21:34:45 +0100 |
parents | 7039e6323819 |
children | db7068430402 |
line wrap: on
line source
;; A GTK version of package-ui.el (globally-declare-fboundp '(gtk-window-new gtk-hbox-new gtk-container-add gtk-widget-show-all)) (require 'package-get) (require 'package-ui) (defun package-gtk-edit-sites () (let ((window (gtk-window-new 'toplevel)) (box (gtk-hbox-new nil 5))) (gtk-container-add window box) (gtk-widget-show-all window)))