[quadrapassel] freedesktop sepcs: RDNN desktop file, appdata & icons names



commit f9455af030b6a1eb07a11c8c98d5414afebda428
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Thu Dec 13 13:38:52 2018 +0100

    freedesktop sepcs: RDNN desktop file, appdata & icons names

 .../16x16/{quadrapassel.png => org.gnome.quadrapassel.png}  | Bin
 .../22x22/{quadrapassel.png => org.gnome.quadrapassel.png}  | Bin
 .../24x24/{quadrapassel.png => org.gnome.quadrapassel.png}  | Bin
 .../32x32/{quadrapassel.png => org.gnome.quadrapassel.png}  | Bin
 .../48x48/{quadrapassel.png => org.gnome.quadrapassel.png}  | Bin
 .../{quadrapassel.svg => org.gnome.quadrapassel.svg}        |   0
 ...sel-symbolic.svg => org.gnome.quadrapassel-symbolic.svg} |   0
 data/meson.build                                            |   2 +-
 ...appdata.xml.in => org.gnome.quadrapassel.appdata.xml.in} |   2 +-
 ...apassel.desktop.in => org.gnome.quadrapassel.desktop.in} |   2 +-
 meson.build                                                 |   2 +-
 src/quadrapassel.vala                                       |   4 ++--
 12 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/data/icons/hicolor/16x16/quadrapassel.png b/data/icons/hicolor/16x16/org.gnome.quadrapassel.png
similarity index 100%
rename from data/icons/hicolor/16x16/quadrapassel.png
rename to data/icons/hicolor/16x16/org.gnome.quadrapassel.png
diff --git a/data/icons/hicolor/22x22/quadrapassel.png b/data/icons/hicolor/22x22/org.gnome.quadrapassel.png
similarity index 100%
rename from data/icons/hicolor/22x22/quadrapassel.png
rename to data/icons/hicolor/22x22/org.gnome.quadrapassel.png
diff --git a/data/icons/hicolor/24x24/quadrapassel.png b/data/icons/hicolor/24x24/org.gnome.quadrapassel.png
similarity index 100%
rename from data/icons/hicolor/24x24/quadrapassel.png
rename to data/icons/hicolor/24x24/org.gnome.quadrapassel.png
diff --git a/data/icons/hicolor/32x32/quadrapassel.png b/data/icons/hicolor/32x32/org.gnome.quadrapassel.png
similarity index 100%
rename from data/icons/hicolor/32x32/quadrapassel.png
rename to data/icons/hicolor/32x32/org.gnome.quadrapassel.png
diff --git a/data/icons/hicolor/48x48/quadrapassel.png b/data/icons/hicolor/48x48/org.gnome.quadrapassel.png
similarity index 100%
rename from data/icons/hicolor/48x48/quadrapassel.png
rename to data/icons/hicolor/48x48/org.gnome.quadrapassel.png
diff --git a/data/icons/hicolor/scalable/quadrapassel.svg 
b/data/icons/hicolor/scalable/org.gnome.quadrapassel.svg
similarity index 100%
rename from data/icons/hicolor/scalable/quadrapassel.svg
rename to data/icons/hicolor/scalable/org.gnome.quadrapassel.svg
diff --git a/data/icons/hicolor/symbolic/quadrapassel-symbolic.svg 
b/data/icons/hicolor/symbolic/org.gnome.quadrapassel-symbolic.svg
similarity index 100%
rename from data/icons/hicolor/symbolic/quadrapassel-symbolic.svg
rename to data/icons/hicolor/symbolic/org.gnome.quadrapassel-symbolic.svg
diff --git a/data/meson.build b/data/meson.build
index 6712789..a5550a5 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -19,7 +19,7 @@ install_data(
 
 # Install gschema
 install_data(
-  '@0  gschema xml'.format('org.gnome.quadrapassel'),
+  '@0  gschema xml'.format(project_id),
   install_dir : join_paths(get_option('datadir'), 'glib-2.0', 'schemas')
 )
 
diff --git a/data/quadrapassel.appdata.xml.in b/data/org.gnome.quadrapassel.appdata.xml.in
similarity index 99%
rename from data/quadrapassel.appdata.xml.in
rename to data/org.gnome.quadrapassel.appdata.xml.in
index fd5ca18..970aa82 100644
--- a/data/quadrapassel.appdata.xml.in
+++ b/data/org.gnome.quadrapassel.appdata.xml.in
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Copyright 2013 Michael Catanzaro -->
 <component type="desktop">
-  <id>quadrapassel.desktop</id>
+  <id>org.gnome.quadrapassel</id>
   <metadata_license>CC0-1.0</metadata_license>
   <project_license>GPL-2.0+ and CC-BY-SA-3.0</project_license>
   <name>Quadrapassel</name>
diff --git a/data/quadrapassel.desktop.in b/data/org.gnome.quadrapassel.desktop.in
similarity index 93%
rename from data/quadrapassel.desktop.in
rename to data/org.gnome.quadrapassel.desktop.in
index 1f05688..a388d5d 100644
--- a/data/quadrapassel.desktop.in
+++ b/data/org.gnome.quadrapassel.desktop.in
@@ -2,7 +2,7 @@
 Name=Quadrapassel
 Comment=Fit falling blocks together
 # Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=quadrapassel
+Icon=org.gnome.quadrapassel
 Exec=quadrapassel
 Terminal=false
 Type=Application
diff --git a/meson.build b/meson.build
index 0c6ae27..8ecb67d 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,7 @@
 project('quadrapassel', 'vala', 'c',
         version: '3.31.3')
 
-project_id = 'quadrapassel'
+project_id = 'org.gnome.quadrapassel'
 i18n = import('i18n')
 # used to install help
 gnome = import('gnome')
diff --git a/src/quadrapassel.vala b/src/quadrapassel.vala
index a0f9662..77c5a4e 100644
--- a/src/quadrapassel.vala
+++ b/src/quadrapassel.vala
@@ -92,7 +92,7 @@ public class Quadrapassel : Gtk.Application
         settings = new Settings ("org.gnome.quadrapassel");
 
         window = new Gtk.ApplicationWindow (this);
-        window.icon_name = "quadrapassel";
+        window.icon_name = "org.gnome.quadrapassel";
         window.set_events (window.get_events () | Gdk.EventMask.KEY_PRESS_MASK | 
Gdk.EventMask.KEY_RELEASE_MASK);
         window.title = _("Quadrapassel");
         window.size_allocate.connect (size_allocate_cb);
@@ -852,7 +852,7 @@ public class Quadrapassel : Gtk.Application
                                "authors", authors,
                                "documenters", documenters,
                                "translator-credits", _("translator-credits"),
-                               "logo-icon-name", "quadrapassel",
+                               "logo-icon-name", "org.gnome.quadrapassel",
                                "website", "https://wiki.gnome.org/Apps/Quadrapassel";,
                                null);
     }


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