[pan] Rename desktop file and theme icons



commit 81349f21ffc6106317c7b404dbeab742bdb744df
Author: Petr Kovar <pkovar redhat com>
Date:   Mon Dec 6 18:50:46 2021 +0100

    Rename desktop file and theme icons
    
    Since we change the appdata id, conform better to the specs.
    
    https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s02.html#desktop-file-id

 Makefile.am                                                 |   6 +++---
 pan.desktop.in => org.gnome.pan.desktop.in                  |   2 +-
 pan/icons/Makefile.am                                       |  10 +++++-----
 ...s_16x16_pan.png => hicolor_apps_16x16_org.gnome.pan.png} | Bin
 ...s_24x24_pan.png => hicolor_apps_24x24_org.gnome.pan.png} | Bin
 ...6x256_pan.png => hicolor_apps_256x256_org.gnome.pan.png} | Bin
 ...s_32x32_pan.png => hicolor_apps_32x32_org.gnome.pan.png} | Bin
 ...s_48x48_pan.png => hicolor_apps_48x48_org.gnome.pan.png} | Bin
 po/POTFILES.in                                              |   2 +-
 9 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 9aa0b7b..9934106 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,10 +6,10 @@ if ENABLE_MANUAL
 SUBDIRS += help
 endif
 
-pan.desktop: pan.desktop.in
+org.gnome.pan.desktop: org.gnome.pan.desktop.in
        $(AM_V_GEN)$(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
 desktopdir = $(datadir)/applications
-desktop_DATA = pan.desktop
+desktop_DATA = org.gnome.pan.desktop
 
 pan.appdata.xml: pan.appdata.xml.in
        $(AM_V_GEN)$(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
@@ -43,8 +43,8 @@ EXTRA_DIST = \
  COPYING-DOCS \
  README.org \
  README.windows \
+ org.gnome.pan.desktop.in \
  pan.appdata.xml.in \
- pan.desktop.in \
  pan-git.version \
  $(man_MANS) \
  $(NULL)
diff --git a/pan.desktop.in b/org.gnome.pan.desktop.in
similarity index 96%
rename from pan.desktop.in
rename to org.gnome.pan.desktop.in
index 2a0c25e..063adfc 100644
--- a/pan.desktop.in
+++ b/org.gnome.pan.desktop.in
@@ -7,7 +7,7 @@ Keywords=usenet;news;newsreader;newsgroup;article;yenc;nzb;
 Exec=pan %U
 MimeType=application/x-nzb;
 # Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=pan
+Icon=org.gnome.pan
 Terminal=false
 Type=Application
 Categories=GTK;Network;News;
diff --git a/pan/icons/Makefile.am b/pan/icons/Makefile.am
index 2f41aa6..0bf054f 100644
--- a/pan/icons/Makefile.am
+++ b/pan/icons/Makefile.am
@@ -5,11 +5,11 @@ public_icons_themes = \
        $(NULL)
 
 public_icons = \
-       hicolor_apps_16x16_pan.png \
-       hicolor_apps_24x24_pan.png \
-       hicolor_apps_32x32_pan.png \
-       hicolor_apps_48x48_pan.png \
-       hicolor_apps_256x256_pan.png \
+       hicolor_apps_16x16_org.gnome.pan.png \
+       hicolor_apps_24x24_org.gnome.pan.png \
+       hicolor_apps_32x32_org.gnome.pan.png \
+       hicolor_apps_48x48_org.gnome.pan.png \
+       hicolor_apps_256x256_org.gnome.pan.png \
        $(NULL)
 
 stock_images = \
diff --git a/pan/icons/hicolor_apps_16x16_pan.png b/pan/icons/hicolor_apps_16x16_org.gnome.pan.png
similarity index 100%
rename from pan/icons/hicolor_apps_16x16_pan.png
rename to pan/icons/hicolor_apps_16x16_org.gnome.pan.png
diff --git a/pan/icons/hicolor_apps_24x24_pan.png b/pan/icons/hicolor_apps_24x24_org.gnome.pan.png
similarity index 100%
rename from pan/icons/hicolor_apps_24x24_pan.png
rename to pan/icons/hicolor_apps_24x24_org.gnome.pan.png
diff --git a/pan/icons/hicolor_apps_256x256_pan.png b/pan/icons/hicolor_apps_256x256_org.gnome.pan.png
similarity index 100%
rename from pan/icons/hicolor_apps_256x256_pan.png
rename to pan/icons/hicolor_apps_256x256_org.gnome.pan.png
diff --git a/pan/icons/hicolor_apps_32x32_pan.png b/pan/icons/hicolor_apps_32x32_org.gnome.pan.png
similarity index 100%
rename from pan/icons/hicolor_apps_32x32_pan.png
rename to pan/icons/hicolor_apps_32x32_org.gnome.pan.png
diff --git a/pan/icons/hicolor_apps_48x48_pan.png b/pan/icons/hicolor_apps_48x48_org.gnome.pan.png
similarity index 100%
rename from pan/icons/hicolor_apps_48x48_pan.png
rename to pan/icons/hicolor_apps_48x48_org.gnome.pan.png
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 70c513f..b575520 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,7 +1,7 @@
 # List of source files containing translatable strings.
 # Please keep this file sorted alphabetically.
+org.gnome.pan.desktop.in
 pan.appdata.xml.in
-pan.desktop.in
 pan/data/article-cache.cc
 pan/data/cert-store.cc
 pan/data/encode-cache.cc


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]