diff options
| author | Manuel Giraud | 2023-11-14 14:49:37 +0100 |
|---|---|---|
| committer | Eric Abrahamsen | 2023-11-20 10:00:08 -0800 |
| commit | 65600b97bd9890ac4884836bf02a394f89fc856f (patch) | |
| tree | c6abdeebbf3ef1eecc846fcd6709e36747ca015b | |
| parent | 9d292262f55cd016a1a59f4d4ef31446bb2ba9c6 (diff) | |
| download | emacs-65600b97bd9890ac4884836bf02a394f89fc856f.tar.gz emacs-65600b97bd9890ac4884836bf02a394f89fc856f.zip | |
Add Gnus mode line logo in SVG format
Bug#67174
* etc/images/gnus/gnus-pointer.svg: New Gnus mode line logo in SVG format.
* lisp/gnus/gnus.el (gnus-mode-line-buffer-identification): Use it.
| -rw-r--r-- | etc/images/gnus/gnus-pointer.svg | 94 | ||||
| -rw-r--r-- | lisp/gnus/gnus.el | 6 |
2 files changed, 98 insertions, 2 deletions
diff --git a/etc/images/gnus/gnus-pointer.svg b/etc/images/gnus/gnus-pointer.svg new file mode 100644 index 00000000000..67a631cdcf5 --- /dev/null +++ b/etc/images/gnus/gnus-pointer.svg | |||
| @@ -0,0 +1,94 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
| 2 | <!-- Gnu Emacs Logo | ||
| 3 | |||
| 4 | Copyright (C) 2008-2023 Free Software Foundation, Inc. | ||
| 5 | |||
| 6 | Author: Francesc Rocher <f.rocher@member.fsf.org> | ||
| 7 | |||
| 8 | This file is part of GNU Emacs. | ||
| 9 | |||
| 10 | GNU Emacs is free software: you can redistribute it and/or modify | ||
| 11 | it under the terms of the GNU General Public License as published by | ||
| 12 | the Free Software Foundation; either version 3 of the License, or | ||
| 13 | (at your option) any later version. | ||
| 14 | |||
| 15 | GNU Emacs is distributed in the hope that it will be useful, | ||
| 16 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 18 | GNU General Public License for more details. | ||
| 19 | |||
| 20 | You should have received a copy of the GNU General Public License | ||
| 21 | along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. | ||
| 22 | |||
| 23 | --> | ||
| 24 | <!-- Created with Inkscape (http://www.inkscape.org/) --> | ||
| 25 | <svg | ||
| 26 | width="23.6206187542" | ||
| 27 | height="16" | ||
| 28 | version="1.0" | ||
| 29 | style="display:inline" | ||
| 30 | id="svg1" | ||
| 31 | sodipodi:docname="gnus-pointer.svg" | ||
| 32 | inkscape:version="1.3 (0e150ed6c4, 2023-07-21)" | ||
| 33 | viewBox="0 0 167.68044 113.58242" | ||
| 34 | xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | ||
| 35 | xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | ||
| 36 | xmlns="http://www.w3.org/2000/svg" | ||
| 37 | xmlns:svg="http://www.w3.org/2000/svg" | ||
| 38 | xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
| 39 | xmlns:cc="http://creativecommons.org/ns#" | ||
| 40 | xmlns:dc="http://purl.org/dc/elements/1.1/"> | ||
| 41 | <defs | ||
| 42 | id="defs1" /> | ||
| 43 | <sodipodi:namedview | ||
| 44 | id="namedview1" | ||
| 45 | pagecolor="#ffffff" | ||
| 46 | bordercolor="#666666" | ||
| 47 | borderopacity="1.0" | ||
| 48 | inkscape:showpageshadow="2" | ||
| 49 | inkscape:pageopacity="0.0" | ||
| 50 | inkscape:pagecheckerboard="0" | ||
| 51 | inkscape:deskcolor="#d1d1d1" | ||
| 52 | inkscape:zoom="2.7948886" | ||
| 53 | inkscape:cx="128.09097" | ||
| 54 | inkscape:cy="123.26073" | ||
| 55 | inkscape:current-layer="layer1" /> | ||
| 56 | <metadata | ||
| 57 | id="metadata2166"> | ||
| 58 | <rdf:RDF> | ||
| 59 | <cc:Work | ||
| 60 | rdf:about=""> | ||
| 61 | <dc:format>image/svg+xml</dc:format> | ||
| 62 | <dc:type | ||
| 63 | rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> | ||
| 64 | <cc:license | ||
| 65 | rdf:resource="https://www.gnu.org/copyleft/gpl.html" /> | ||
| 66 | <dc:title>gnus</dc:title> | ||
| 67 | <dc:date>2008/06/28</dc:date> | ||
| 68 | <dc:creator> | ||
| 69 | <cc:Agent> | ||
| 70 | <dc:title>Francesc Rocher</dc:title> | ||
| 71 | </cc:Agent> | ||
| 72 | </dc:creator> | ||
| 73 | <dc:rights> | ||
| 74 | <cc:Agent> | ||
| 75 | <dc:title>GPL</dc:title> | ||
| 76 | </cc:Agent> | ||
| 77 | </dc:rights> | ||
| 78 | <dc:description>gnus icon image</dc:description> | ||
| 79 | <cc:license | ||
| 80 | rdf:resource="https://www.gnu.org/copyleft/gpl.html" /> | ||
| 81 | </cc:Work> | ||
| 82 | </rdf:RDF> | ||
| 83 | </metadata> | ||
| 84 | <g | ||
| 85 | inkscape:label="Layer 1" | ||
| 86 | inkscape:groupmode="layer" | ||
| 87 | id="layer1" | ||
| 88 | transform="translate(-214.53867,-140.13329)"> | ||
| 89 | <path | ||
| 90 | style="fill-opacity:1" | ||
| 91 | d="m 321.70896,253.17911 c -0.36667,-0.36666 -0.67201,-5.20416 -0.67854,-10.75 -0.019,-16.11278 -3.80254,-26.01429 -11.53101,-30.17635 -1.90142,-1.02398 -3.45712,-2.07087 -3.45712,-2.32642 0,-1.43357 10.45296,-16.08056 11.47604,-16.08056 2.47319,0 9.23725,5.87604 10.97182,9.53138 5.03752,10.61578 4.34103,30.55989 -1.50929,43.21862 -3.28874,7.11606 -3.93373,7.9215 -5.2719,6.58333 z m -77.16152,-8.46295 c -4.45468,-3.91126 -4.44465,-5.90837 0.0814,-16.20837 6.498,-14.78751 34.5082,-54.96722 36.7536,-52.72182 1.31908,1.31908 -1.58012,6.7064 -6.9201,12.85902 -5.10867,5.88611 -15.27729,21.00949 -18.79544,27.95371 -3.51862,6.94514 -2.86216,9.83677 2.56492,11.29813 2.18779,0.58911 5.33413,0.77321 6.99187,0.4091 6.2872,-1.3809 18.78154,-10.37638 34.82869,-25.07544 1.63528,-1.49791 2.98143,-2.00796 3.86245,-1.46346 2.11637,1.30799 -7.3484,14.40921 -15.90222,22.01199 -16.20847,14.40636 -27.60611,21.67016 -36.7152,23.39889 -2.68566,0.50969 -3.8489,0.0855 -6.75,-2.46175 z m 106.49485,-47.00332 c -2.5122,-0.71522 -8.01566,-5.45017 -19.5,-16.77699 -12.82987,-12.6539 -16.81552,-16.00934 -20.11602,-16.9353 -9.0949,-2.5516 -16.05869,-0.67634 -18.98403,5.11216 -1.7056,3.37495 -5.29744,7.73307 -6.37338,7.73307 -0.34364,0 -1.1778,-1.5293 -1.8537,-3.39846 -1.42445,-3.93926 -8.55314,-10.8615 -13.72556,-13.32805 -3.4655,-1.65258 -3.70255,-1.63465 -7.9122,0.59856 -2.38681,1.26621 -5.39614,3.78466 -6.68739,5.59656 -2.99038,4.19616 -18.42665,18.22292 -22.26047,20.22784 -3.6871,1.92819 -10.16611,1.16914 -12.83946,-1.5042 -1.25983,-1.25984 -2.63141,-5.30077 -3.84411,-11.32548 -1.03697,-5.15172 -2.08806,-10.26677 -2.33574,-11.36677 -0.24769,-1.1 0.16855,-2.83295 0.92497,-3.85101 1.33079,-1.79111 1.50083,-1.78047 5.25386,0.32885 2.13321,1.19893 4.96021,3.93001 6.28222,6.06908 2.91698,4.71978 6.42385,5.78889 11.14802,3.3986 5.61805,-2.84256 13.87615,-9.63484 17.51425,-14.40546 5.80084,-7.60662 11.27676,-12.99393 13.86896,-13.64453 1.35462,-0.33999 4.82023,0.14973 7.70136,1.08827 4.00736,1.3054 6.38479,2.98928 10.11649,7.16527 l 4.87808,5.45885 1.83587,-3.01884 c 2.46937,-4.06056 10.61011,-8.08908 16.34622,-8.08908 7.64657,0 14.07091,3.70799 23.59667,13.61949 4.6942,4.88428 9.67621,10.28189 11.07114,11.99468 9.1173,11.19486 23.8278,13.70046 29.6705,5.0537 1.25211,-1.85302 3.42939,-4.44884 4.83841,-5.7685 l 2.56185,-2.39937 -0.72231,3.87057 c -1.32367,7.09295 -6.50404,19.06241 -9.26864,21.41558 -8.2221,6.99849 -14.31844,9.03606 -21.18586,7.08091 z" | ||
| 92 | id="path1" /> | ||
| 93 | </g> | ||
| 94 | </svg> | ||
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index fc8518512ee..ffe81e5c585 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el | |||
| @@ -325,8 +325,10 @@ be set in `.emacs' instead." | |||
| 325 | 0 5 | 325 | 0 5 |
| 326 | (list 'display | 326 | (list 'display |
| 327 | (find-image | 327 | (find-image |
| 328 | '((:type xpm :file "gnus-pointer.xpm" | 328 | '((:type svg :file "gnus-pointer.svg" |
| 329 | :ascent center) | 329 | :ascent center) |
| 330 | (:type xpm :file "gnus-pointer.xpm" | ||
| 331 | :ascent center) | ||
| 330 | (:type xbm :file "gnus-pointer.xbm" | 332 | (:type xbm :file "gnus-pointer.xbm" |
| 331 | :ascent center)) | 333 | :ascent center)) |
| 332 | t) | 334 | t) |