From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: john muhl Newsgroups: gmane.emacs.bugs Subject: bug#71721: [PATCH] Add icons used by 'mpc.el' to 'x-gtk-stock-map' Date: Sat, 22 Jun 2024 10:23:56 -0500 Message-ID: <87bk3tj90z.fsf@pub.pink> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35342"; mail-complaints-to="usenet@ciao.gmane.io" To: 71721@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 22 17:25:34 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sL2cO-0008xV-TU for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Jun 2024 17:25:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sL2c7-00043X-Kt; Sat, 22 Jun 2024 11:25:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sL2bv-00042i-7X for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2024 11:25:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sL2bu-00021M-V7 for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2024 11:25:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sL2bu-0000oC-Nf for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2024 11:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: john muhl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Jun 2024 15:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71721 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17190698483016 (code B ref -1); Sat, 22 Jun 2024 15:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Jun 2024 15:24:08 +0000 Original-Received: from localhost ([127.0.0.1]:49617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sL2b1-0000ma-TO for submit@debbugs.gnu.org; Sat, 22 Jun 2024 11:24:08 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:54662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sL2b0-0000mR-5v for submit@debbugs.gnu.org; Sat, 22 Jun 2024 11:24:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sL2az-0003t8-V4 for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2024 11:24:05 -0400 Original-Received: from wfout3-smtp.messagingengine.com ([64.147.123.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sL2ax-0001du-Pd for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2024 11:24:05 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfout.west.internal (Postfix) with ESMTP id 349661C000A0 for ; Sat, 22 Jun 2024 11:23:58 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sat, 22 Jun 2024 11:23:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1; t=1719069837; x=1719156237; bh=sXzj4/JlYgb/mtZqVyrZTzLIK6aKLxaK ddYWc2X7MCQ=; b=m68E0tZ5AdC/MZWjQrhLwK7HZCzjZLw9COcTurxF9oSnMaZd 4EoVECeXhOG9Bh58WeS6Ts3IMAA9owf5sYxYdCStYIg9RVtitA437D7ccuHqoQia Z/n32Z11elHqsMDmbvt2ySi0WNWHlsm8R/SO8l0rsG+KuMqFgCgeSXEtfLFBJPsb X286fXrMzacq2wk3j4GhhZ3o/P2eHIfq27T6M9HPQfvNbRmGe/YnQtymiMl8yrtx p9Hr16XxQ76lUyQebWlGyBwBIDfh6AZ8hslSKZnHl05z6SJHNEzYo0glVnq1OrMw x/x6apS9YEU/rTbC/fQq7g3LYgyhOXr2db+mFQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1719069837; x=1719156237; bh=sXzj4/JlYgb/mtZqVyrZTzLIK6aKLxaKddY Wc2X7MCQ=; b=dm+8S0fYTq4Ib5g7xL3ptd9Xw6GNoEGmpHO6ZzLNa/bBYpzA8xk LtJNXdYq+LyJP4jqyh7555SCRQDwf5tJydrc0j1tYvbQ+mXHE5BVVo1HODsl5FwZ ZixwXJ4euUhF4iz22BvCZ4QQBxwrxKygIfrhrGlLwg7RD27SgQ5WviUyO5Moxgyj XjF13UH0B3w0q/oPPWmMBS7aqXn4fXeUoqJBN4AvPC90UEkDuWdP2LYqx0XDkSCX C1X8ptWQK5+n1DS4020tT2KP+C5YoEfy0FJRcUnnPA29+C69zGoqkScjCFwO7iaL 8621MVKLmxxKGyShbVjbgSDmu1Zuam3rZ7Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeefiedgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtsehmtderredttd ejnecuhfhrohhmpehjohhhnhcumhhuhhhluceojhhmsehpuhgsrdhpihhnkheqnecuggft rfgrthhtvghrnhepgeegieffgfffvdeiheekieejueduveeiieeuudetveetieduvdetge egleehhedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhepjhhmsehpuhgsrdhpihhnkh X-ME-Proxy: Feedback-ID: i74194916:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 22 Jun 2024 11:23:57 -0400 (EDT) Received-SPF: pass client-ip=64.147.123.146; envelope-from=jm@pub.pink; helo=wfout3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:287714 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Tags: patch This adds entries to map mpc.el=E2=80=99s tool-bar icons to GTK stock icons. --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Add-icons-used-by-mpc.el-to-x-gtk-stock-map.patch >From c1e833bcbb4fd1308b912e57e72390e2c078fd54 Mon Sep 17 00:00:00 2001 From: john muhl Date: Wed, 19 Jun 2024 11:47:42 -0500 Subject: [PATCH] Add icons used by 'mpc.el' to 'x-gtk-stock-map' * 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'. --- lisp/term/pgtk-win.el | 8 ++++++++ lisp/term/x-win.el | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/lisp/term/pgtk-win.el b/lisp/term/pgtk-win.el index 13300270556..e77ee56c465 100644 --- a/lisp/term/pgtk-win.el +++ b/lisp/term/pgtk-win.el @@ -254,6 +254,14 @@ x-gtk-stock-map ;; 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. diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index 98dd576fea2..cb9ae081f0f 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -1442,6 +1442,14 @@ x-gtk-stock-map ;; 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. -- 2.45.2 --=-=-=--