diff options
| author | Elías Gabriel Pérez | 2025-05-25 09:55:03 -0600 |
|---|---|---|
| committer | Eli Zaretskii | 2025-06-28 11:34:41 +0300 |
| commit | eda47cd2a8753ec74a816e62aba3fa63543e5526 (patch) | |
| tree | b749216622066ff70652827195135bc9397f4be7 /lisp/term | |
| parent | 1e9167d22a75102389a49978594e96d7669948f6 (diff) | |
| download | emacs-eda47cd2a8753ec74a816e62aba3fa63543e5526.tar.gz emacs-eda47cd2a8753ec74a816e62aba3fa63543e5526.zip | |
Add tool bar icons to package menu. (Bug#78601)
* etc/images/package-menu/README:
* etc/images/package-menu/delete.xpm:
* etc/images/package-menu/execute.xpm:
* etc/images/package-menu/info.xpm:
* etc/images/package-menu/install.xpm:
* etc/images/package-menu/unmark.xpm:
* etc/images/package-menu/upgrade.xpm:
* etc/images/package-menu/url.xpm:
* etc/images/package-menu/delete.pbm:
* etc/images/package-menu/execute.pbm:
* etc/images/package-menu/info.pbm:
* etc/images/package-menu/install.pbm:
* etc/images/package-menu/unmark.pbm:
* etc/images/package-menu/upgrade.pbm:
* etc/images/package-menu/url.pbm: New files.
* lisp/emacs-lisp/package.el (package-menu--tool-bar-map): New
variable.
(package-menu-mode): Set tool bar.
* lisp/term/pgtk-win.el (x-gtk-stock-map):
* lisp/term/x-win.el (x-gtk-stock-map): Add new icons to alist.
Diffstat (limited to 'lisp/term')
| -rw-r--r-- | lisp/term/pgtk-win.el | 8 | ||||
| -rw-r--r-- | lisp/term/x-win.el | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/lisp/term/pgtk-win.el b/lisp/term/pgtk-win.el index 1c15234c49c..012ecc5ed5e 100644 --- a/lisp/term/pgtk-win.el +++ b/lisp/term/pgtk-win.el | |||
| @@ -211,6 +211,14 @@ EVENT is a `preedit-text' event." | |||
| 211 | ("etc/images/cancel" . "gtk-cancel") | 211 | ("etc/images/cancel" . "gtk-cancel") |
| 212 | ("etc/images/info" . ("dialog-information" "gtk-info")) | 212 | ("etc/images/info" . ("dialog-information" "gtk-info")) |
| 213 | ("etc/images/bookmark_add" . "n:bookmark_add") | 213 | ("etc/images/bookmark_add" . "n:bookmark_add") |
| 214 | ;; Used in package-menu | ||
| 215 | ("images/package-menu/execute" . "gtk-apply") | ||
| 216 | ("images/package-menu/info" . ("dialog-information" "gtk-info")) | ||
| 217 | ("images/package-menu/install" . ("archive-insert" "list-add")) | ||
| 218 | ("images/package-menu/delete" . ("archive-remove" "edit-delete" "gtk-remove")) | ||
| 219 | ("images/package-menu/unmark" . ("gnumeric-object-checkbox" "box")) | ||
| 220 | ("images/package-menu/url" . "globe") | ||
| 221 | ("images/package-menu/upgrade" . ("archive-extract" "go-bottom")) | ||
| 214 | ;; Used in Gnus and/or MH-E: | 222 | ;; Used in Gnus and/or MH-E: |
| 215 | ("etc/images/attach" . ("mail-attachment" "gtk-attach")) | 223 | ("etc/images/attach" . ("mail-attachment" "gtk-attach")) |
| 216 | ("etc/images/connect" . "gtk-connect") | 224 | ("etc/images/connect" . "gtk-connect") |
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index 1863ff92c77..ae3ea9f1ba2 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el | |||
| @@ -1400,6 +1400,14 @@ This returns an error if any Emacs frames are X frames." | |||
| 1400 | ("etc/images/cancel" . "gtk-cancel") | 1400 | ("etc/images/cancel" . "gtk-cancel") |
| 1401 | ("etc/images/info" . ("dialog-information" "gtk-info")) | 1401 | ("etc/images/info" . ("dialog-information" "gtk-info")) |
| 1402 | ("etc/images/bookmark_add" . "n:bookmark_add") | 1402 | ("etc/images/bookmark_add" . "n:bookmark_add") |
| 1403 | ;; Used in package-menu | ||
| 1404 | ("images/package-menu/execute" . "gtk-apply") | ||
| 1405 | ("images/package-menu/info" . ("dialog-information" "gtk-info")) | ||
| 1406 | ("images/package-menu/install" . ("archive-insert" "list-add")) | ||
| 1407 | ("images/package-menu/delete" . ("archive-remove" "edit-delete" "gtk-remove")) | ||
| 1408 | ("images/package-menu/unmark" . ("gnumeric-object-checkbox" "box")) | ||
| 1409 | ("images/package-menu/url" . "globe") | ||
| 1410 | ("images/package-menu/upgrade" . ("archive-extract" "go-bottom")) | ||
| 1403 | ;; Used in Gnus and/or MH-E: | 1411 | ;; Used in Gnus and/or MH-E: |
| 1404 | ("etc/images/attach" . ("mail-attachment" "gtk-attach")) | 1412 | ("etc/images/attach" . ("mail-attachment" "gtk-attach")) |
| 1405 | ("etc/images/connect" . "gtk-connect") | 1413 | ("etc/images/connect" . "gtk-connect") |