annotate lisp/gtk-package.el @ 2118:e28998a020ec

[xemacs-hg @ 2004-06-07 21:50:57 by adrian] xemacs-21.5: Cleanup sync to 21.4 and typo fixes for lisp/cus-edit.el -------------------- ChangeLog entries follow: -------------------- lisp/ChangeLog addition: 2004-06-07 Adrian Aichner <adrian@xemacs.org> * cus-edit.el (custom-browse-visibility): Typo fix. * cus-edit.el (custom-variable-value-create): Ditto. * cus-edit.el (custom-save-variables): Simply use push instead of make-list and nconc, as suggested by Hrvoje and already used in 21.4. * cus-edit.el (custom-save-faces): Ditto.
author adrian
date Mon, 07 Jun 2004 21:50:57 +0000
parents 7039e6323819
children db7068430402
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
1 ;; A GTK version of package-ui.el
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
2
502
7039e6323819 [xemacs-hg @ 2001-05-04 22:41:46 by ben]
ben
parents: 462
diff changeset
3 (globally-declare-fboundp
7039e6323819 [xemacs-hg @ 2001-05-04 22:41:46 by ben]
ben
parents: 462
diff changeset
4 '(gtk-window-new
7039e6323819 [xemacs-hg @ 2001-05-04 22:41:46 by ben]
ben
parents: 462
diff changeset
5 gtk-hbox-new gtk-container-add gtk-widget-show-all))
7039e6323819 [xemacs-hg @ 2001-05-04 22:41:46 by ben]
ben
parents: 462
diff changeset
6
462
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
7 (require 'package-get)
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
8 (require 'package-ui)
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
9
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
10 (defun package-gtk-edit-sites ()
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
11 (let ((window (gtk-window-new 'toplevel))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
12 (box (gtk-hbox-new nil 5)))
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
13 (gtk-container-add window box)
0784d089fdc9 Import from CVS: tag r21-2-46
cvs
parents:
diff changeset
14 (gtk-widget-show-all window)))