]> git.eshelyaron.com Git - emacs.git/commitdiff
Add icons used by 'mpc.el' to 'x-gtk-stock-map'
authorjohn muhl <jm@pub.pink>
Wed, 19 Jun 2024 16:47:42 +0000 (11:47 -0500)
committerEshel Yaron <me@eshelyaron.com>
Wed, 12 Feb 2025 10:52:23 +0000 (11:52 +0100)
* lisp/term/x-win.el (x-gtk-stock-map):
* lisp/term/pgtk-win.el (x-gtk-stock-map): Include tool-bar icons
used by 'mpc.el'.

(cherry picked from commit 0184acdd3174e95b79756433b9c8c08143737c81)

lisp/term/pgtk-win.el
lisp/term/x-win.el

index 14808dc7c8b2e17647ede7981c0ee14059451381..5940f961e4069f116fe4097e453976022b87e4c9 100644 (file)
@@ -251,6 +251,14 @@ EVENT is a `preedit-text' event."
     ;; No themed versions available:
     ;; mail/preview (combining stock_mail and stock_zoom)
     ;; mail/save    (combining stock_mail, stock_save and stock_convert)
+    ("images/mpc/prev" . "media-skip-backward")
+    ("images/mpc/rewind" . "media-seek-backward")
+    ("images/mpc/pause" . "media-playback-pause")
+    ("images/mpc/play" . "media-playback-start")
+    ("images/mpc/ffwd" . "media-seek-forward")
+    ("images/mpc/next" . "media-skip-forward")
+    ("images/mpc/stop" . "media-playback-stop")
+    ("images/mpc/add" . "list-add")
     )
   "How icons for tool bars are mapped to Gtk+ stock items.
 Emacs must be compiled with the Gtk+ toolkit for this to have any effect.
index b614e9aa31deda7fe4ce6788ff04c43770f22fd4..fd691958105f7a4e71d8ce8b4ae0a3ad34e86b8b 100644 (file)
@@ -1440,6 +1440,14 @@ This returns an error if any Emacs frames are X frames."
     ;; No themed versions available:
     ;; mail/preview (combining stock_mail and stock_zoom)
     ;; mail/save    (combining stock_mail, stock_save and stock_convert)
+    ("images/mpc/prev" . "media-skip-backward")
+    ("images/mpc/rewind" . "media-seek-backward")
+    ("images/mpc/pause" . "media-playback-pause")
+    ("images/mpc/play" . "media-playback-start")
+    ("images/mpc/ffwd" . "media-seek-forward")
+    ("images/mpc/next" . "media-skip-forward")
+    ("images/mpc/stop" . "media-playback-stop")
+    ("images/mpc/add" . "list-add")
     )
   "How icons for tool bars are mapped to Gtk+ stock items.
 Emacs must be compiled with the Gtk+ toolkit for this to have any effect.