[gnome-2048] Use org.gnome.TwentyFortyEight for application.



commit a297afd682b5ed8b760fdb17952182afe0ba1cac
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Mon Jan 28 23:34:24 2019 +0100

    Use org.gnome.TwentyFortyEight for application.
    
    See #6.

 data/meson.build                                                  | 8 ++++----
 ...8.appdata.xml.in => org.gnome.TwentyFortyEight.appdata.xml.in} | 2 +-
 ...nome-2048.desktop.in => org.gnome.TwentyFortyEight.desktop.in} | 0
 data/style.css                                                    | 0
 src/application.vala                                              | 4 ++--
 src/org.gnome.TwentyFortyEight.gresource.xml                      | 2 +-
 6 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index bcc597a..a8cc7e9 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -25,8 +25,8 @@ install_data(
 
 desktop_file = i18n.merge_file(
   'desktop-file',
-  input: 'org.gnome.gnome-2048.desktop.in',
-  output: 'org.gnome.gnome-2048.desktop',
+  input: 'org.gnome.TwentyFortyEight.desktop.in',
+  output: 'org.gnome.TwentyFortyEight.desktop',
   install: true,
   install_dir: join_paths(datadir, 'applications'),
   po_dir: podir,
@@ -42,8 +42,8 @@ endif
 
 appdata_file = i18n.merge_file(
   'appdata-file',
-  input: 'org.gnome.gnome-2048.appdata.xml.in',
-  output: 'org.gnome.gnome-2048.appdata.xml',
+  input: 'org.gnome.TwentyFortyEight.appdata.xml.in',
+  output: 'org.gnome.TwentyFortyEight.appdata.xml',
   install: true,
   install_dir: join_paths(datadir, 'metainfo'),
   po_dir: podir,
diff --git a/data/org.gnome.gnome-2048.appdata.xml.in b/data/org.gnome.TwentyFortyEight.appdata.xml.in
similarity index 98%
rename from data/org.gnome.gnome-2048.appdata.xml.in
rename to data/org.gnome.TwentyFortyEight.appdata.xml.in
index 22a1304..905709b 100644
--- a/data/org.gnome.gnome-2048.appdata.xml.in
+++ b/data/org.gnome.TwentyFortyEight.appdata.xml.in
@@ -2,7 +2,7 @@
 <!-- Copyright 2015 Juan R. GarcĂ­a Blanco <juanrgar gmail com>
      Copyright 2016 Arnaud Bonatti <arnaud bonatti gmail com> -->
 <component type="desktop">
-  <id>org.gnome.gnome-2048.desktop</id>
+  <id>org.gnome.TwentyFortyEight.desktop</id>
   <metadata_license>CC-BY-SA-3.0</metadata_license>
   <project_license>GPL-3.0+</project_license>
   <name>GNOME 2048</name>
diff --git a/data/org.gnome.gnome-2048.desktop.in b/data/org.gnome.TwentyFortyEight.desktop.in
similarity index 100%
rename from data/org.gnome.gnome-2048.desktop.in
rename to data/org.gnome.TwentyFortyEight.desktop.in
diff --git a/src/application.vala b/src/application.vala
index b6394b4..a6f4718 100644
--- a/src/application.vala
+++ b/src/application.vala
@@ -84,7 +84,7 @@ public class Application : Gtk.Application
             return Posix.EXIT_FAILURE;
         }
 
-        Environment.set_application_name ("org.gnome.gnome-2048");
+        Environment.set_application_name ("org.gnome.TwentyFortyEight");
         Window.set_default_icon_name ("org.gnome.TwentyFortyEight");
 
         try {
@@ -107,7 +107,7 @@ public class Application : Gtk.Application
 
     public Application ()
     {
-        Object (application_id: "org.gnome.gnome-2048", flags: ApplicationFlags.FLAGS_NONE);
+        Object (application_id: "org.gnome.TwentyFortyEight", flags: ApplicationFlags.FLAGS_NONE);
     }
 
     protected override void startup ()
diff --git a/src/org.gnome.TwentyFortyEight.gresource.xml b/src/org.gnome.TwentyFortyEight.gresource.xml
index bf18b92..c82a388 100644
--- a/src/org.gnome.TwentyFortyEight.gresource.xml
+++ b/src/org.gnome.TwentyFortyEight.gresource.xml
@@ -6,7 +6,7 @@
     <file preprocess="xml-stripblanks" alias="congrats.ui">data/congrats.ui</file>
     <!-- file>data/style.css</file -->
   </gresource>
-  <gresource prefix="/org/gnome/gnome-2048/gtk">
+  <gresource prefix="/org/gnome/TwentyFortyEight/gtk">
     <file preprocess="xml-stripblanks" alias="help-overlay.ui">data/help-overlay.ui</file>
   </gresource>
 </gresources>


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