[gnome-maps] Rename icon to use app ID



commit 9db26da62f1740876294b0cc0f38bebf5f03df4d
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Jan 30 09:26:48 2016 +0100

    Rename icon to use app ID
    
    This plays well with xdg-app.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=761323

 data/icons/Makefile.am                             |   18 +++++++++---------
 ...s.png => hicolor_apps_16x16_org.gnome.Maps.png} |  Bin 975 -> 975 bytes
 ...s.png => hicolor_apps_22x22_org.gnome.Maps.png} |  Bin 1508 -> 1508 bytes
 ...s.png => hicolor_apps_24x24_org.gnome.Maps.png} |  Bin 1590 -> 1590 bytes
 ...png => hicolor_apps_256x256_org.gnome.Maps.png} |  Bin 43685 -> 43685 bytes
 ...s.png => hicolor_apps_32x32_org.gnome.Maps.png} |  Bin 2381 -> 2381 bytes
 ...s.png => hicolor_apps_48x48_org.gnome.Maps.png} |  Bin 3689 -> 3689 bytes
 ...olor_apps_symbolic_org.gnome.Maps-symbolic.svg} |    0
 data/icons/{gnome-maps.svg => org.gnome.Maps.svg}  |    0
 data/org.gnome.Maps.desktop.in                     |    2 +-
 src/mainWindow.js                                  |    2 +-
 11 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
index f341717..f5a38f2 100644
--- a/data/icons/Makefile.am
+++ b/data/icons/Makefile.am
@@ -5,13 +5,13 @@ public_icons_themes =                                                 \
        $(NULL)
 
 public_icons =                                                         \
-       hicolor_apps_16x16_gnome-maps.png                               \
-       hicolor_apps_22x22_gnome-maps.png                               \
-       hicolor_apps_24x24_gnome-maps.png                               \
-       hicolor_apps_32x32_gnome-maps.png                               \
-       hicolor_apps_48x48_gnome-maps.png                               \
-       hicolor_apps_256x256_gnome-maps.png                             \
-       hicolor_apps_symbolic_gnome-maps-symbolic.svg                   \
+       hicolor_apps_16x16_org.gnome.Maps.png                           \
+       hicolor_apps_22x22_org.gnome.Maps.png                           \
+       hicolor_apps_24x24_org.gnome.Maps.png                           \
+       hicolor_apps_32x32_org.gnome.Maps.png                           \
+       hicolor_apps_48x48_org.gnome.Maps.png                           \
+       hicolor_apps_256x256_org.gnome.Maps.png                 \
+       hicolor_apps_symbolic_org.gnome.Maps-symbolic.svg               \
        $(NULL)
 
 private_icons =                                                                \
@@ -48,7 +48,7 @@ private_icons =                                                               \
        $(NULL)
 
 noinst_DATA =                                                          \
-       gnome-maps.svg                                                  \
+       org.gnome.Maps.svg                                              \
        hicolor_apps_24x24_user-location.svg                            \
        hicolor_apps_24x24_user-location-compass.svg                    \
        $(NULL)
@@ -56,7 +56,7 @@ noinst_DATA =                                                         \
 EXTRA_DIST =                                                           \
        $(public_icons)                                                 \
        $(private_icons)                                                \
-       gnome-maps.svg                                                  \
+       org.gnome.Maps.svg                                              \
        hicolor_apps_24x24_user-location.svg                            \
        hicolor_apps_24x24_user-location-compass.svg                    \
        $(NULL)
diff --git a/data/icons/hicolor_apps_symbolic_gnome-maps-symbolic.svg 
b/data/icons/hicolor_apps_symbolic_org.gnome.Maps-symbolic.svg
similarity index 100%
rename from data/icons/hicolor_apps_symbolic_gnome-maps-symbolic.svg
rename to data/icons/hicolor_apps_symbolic_org.gnome.Maps-symbolic.svg
diff --git a/data/icons/gnome-maps.svg b/data/icons/org.gnome.Maps.svg
similarity index 100%
rename from data/icons/gnome-maps.svg
rename to data/icons/org.gnome.Maps.svg
diff --git a/data/org.gnome.Maps.desktop.in b/data/org.gnome.Maps.desktop.in
index 972c270..fe62d2b 100644
--- a/data/org.gnome.Maps.desktop.in
+++ b/data/org.gnome.Maps.desktop.in
@@ -3,7 +3,7 @@ Version=1.0
 _Name=Maps
 _Comment=A simple maps application
 Exec=gapplication launch org.gnome.Maps
-Icon=gnome-maps
+Icon=org.gnome.Maps
 Terminal=false
 Type=Application
 StartupNotify=true
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 681086e..a59536a 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -404,7 +404,7 @@ const MainWindow = new Lang.Class({
                        ' 2011' + String.fromCharCode(0x2013) +
                        '2013 Red Hat, Inc.',
             license_type: Gtk.License.GPL_2_0,
-            logo_icon_name: 'gnome-maps',
+            logo_icon_name: 'org.gnome.Maps',
             version: pkg.version,
             website: 'https://live.gnome.org/Apps/Maps',
             wrap_license: true,


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