[lightsoff/appdata-update] use org.gnome.LightsOff as an app-id



commit 55360f6f2e3d4c76955fe9bb74a8a3476045007b
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Sat Jan 19 19:19:23 2019 +0100

    use org.gnome.LightsOff as an app-id

 .../apps/{org.gnome.lightsoff.svg => org.gnome.LightsOff.svg}     | 0
 ...me.lightsoff-symbolic.svg => org.gnome.LightsOff-symbolic.svg} | 0
 data/meson.build                                                  | 6 +++---
 ...ightsoff.appdata.xml.in => org.gnome.LightsOff.appdata.xml.in} | 4 ++--
 ....gnome.lightsoff.desktop.in => org.gnome.LightsOff.desktop.in} | 2 +-
 ...nome.lightsoff.gschema.xml => org.gnome.LightsOff.gschema.xml} | 2 +-
 snap/snapcraft.yaml                                               | 2 +-
 src/lightsoff-window.vala                                         | 8 ++++----
 src/lightsoff.gresource.xml                                       | 4 ++--
 src/lightsoff.vala                                                | 6 +++---
 10 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/data/icons/hicolor/scalable/apps/org.gnome.lightsoff.svg 
b/data/icons/hicolor/scalable/apps/org.gnome.LightsOff.svg
similarity index 100%
rename from data/icons/hicolor/scalable/apps/org.gnome.lightsoff.svg
rename to data/icons/hicolor/scalable/apps/org.gnome.LightsOff.svg
diff --git a/data/icons/hicolor/symbolic/apps/org.gnome.lightsoff-symbolic.svg 
b/data/icons/hicolor/symbolic/apps/org.gnome.LightsOff-symbolic.svg
similarity index 100%
rename from data/icons/hicolor/symbolic/apps/org.gnome.lightsoff-symbolic.svg
rename to data/icons/hicolor/symbolic/apps/org.gnome.LightsOff-symbolic.svg
diff --git a/data/meson.build b/data/meson.build
index 9a8afe0..01849c4 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -8,7 +8,7 @@ install_data(['off.svg', 'on.svg', 'highlight.svg'],
   install_dir: pkgdatadir,
 )
 
-desktop = 'org.gnome.lightsoff.desktop'
+desktop = 'org.gnome.LightsOff.desktop'
 
 # Desktop file
 desktop_file = i18n.merge_file(
@@ -31,7 +31,7 @@ if desktop_file_validate.found()
 endif
 
 
-appdata = 'org.gnome.lightsoff.appdata.xml'
+appdata = 'org.gnome.LightsOff.appdata.xml'
 
 # Appdata
 appdata_file = i18n.merge_file(
@@ -52,7 +52,7 @@ if appstream_util.found()
 endif
 
 # Gschema
-install_data('org.gnome.lightsoff.gschema.xml',
+install_data('org.gnome.LightsOff.gschema.xml',
   install_dir: join_paths(datadir, 'glib-2.0', 'schemas'),
 )
 
diff --git a/data/org.gnome.lightsoff.appdata.xml.in b/data/org.gnome.LightsOff.appdata.xml.in
similarity index 97%
rename from data/org.gnome.lightsoff.appdata.xml.in
rename to data/org.gnome.LightsOff.appdata.xml.in
index 89ee4b7..b902d6a 100644
--- a/data/org.gnome.lightsoff.appdata.xml.in
+++ b/data/org.gnome.LightsOff.appdata.xml.in
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Copyright 2013 Michael Catanzaro -->
 <component type="desktop-application">
-  <id>org.gnome.lightsoff</id>
+  <id>org.gnome.LightsOff</id>
   <metadata_license>CC0-1.0</metadata_license>
   <project_license>GPL-3.0+</project_license>
   <name>Lights Off</name>
@@ -22,7 +22,7 @@
       <image>https://people.gnome.org/~mcatanzaro/lightsoff.png</image>
     </screenshot>
   </screenshots>
-  <launchable type="desktop-id">org.gnome.lightsoff.desktop</launchable>
+  <launchable type="desktop-id">org.gnome.LightsOff.desktop</launchable>
   <url type="homepage">https://wiki.gnome.org/Apps/Lightsoff</url>
   <url type="bugtracker">https://gitlab.gnome.org/GNOME/lightsoff/issues/new?issue</url>
   <url type="donation">http://www.gnome.org/friends/</url>
diff --git a/data/org.gnome.lightsoff.desktop.in b/data/org.gnome.LightsOff.desktop.in
similarity index 94%
rename from data/org.gnome.lightsoff.desktop.in
rename to data/org.gnome.LightsOff.desktop.in
index 8b1726b..41b5f8c 100644
--- a/data/org.gnome.lightsoff.desktop.in
+++ b/data/org.gnome.LightsOff.desktop.in
@@ -4,7 +4,7 @@ Comment=Turn off all the lights
 # Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list 
MUST also end with a semicolon!
 Keywords=game;logic;board;tiles;adjacent;puzzle;
 # Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=org.gnome.lightsoff
+Icon=org.gnome.LightsOff
 Exec=lightsoff
 Terminal=false
 Type=Application
diff --git a/data/org.gnome.lightsoff.gschema.xml b/data/org.gnome.LightsOff.gschema.xml
similarity index 80%
rename from data/org.gnome.lightsoff.gschema.xml
rename to data/org.gnome.LightsOff.gschema.xml
index e4ec6b1..43084fe 100644
--- a/data/org.gnome.lightsoff.gschema.xml
+++ b/data/org.gnome.LightsOff.gschema.xml
@@ -1,5 +1,5 @@
 <schemalist>
-  <schema id="org.gnome.lightsoff" path="/org/gnome/lightsoff/" gettext-domain="lightsoff">
+  <schema id="org.gnome.LightsOff" path="/org/gnome/LightsOff/" gettext-domain="lightsoff">
     <key name="level" type="i">
       <default>1</default>
       <range min="1" />
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 08d4034..7a12b54 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -23,7 +23,7 @@ slots:
   lightsoff:
     interface: dbus
     bus: session
-    name: org.gnome.lightsoff
+    name: org.gnome.LightsOff
 
 apps:
   lightsoff:
diff --git a/src/lightsoff-window.vala b/src/lightsoff-window.vala
index 202c1a8..abc4cb1 100644
--- a/src/lightsoff-window.vala
+++ b/src/lightsoff-window.vala
@@ -12,7 +12,7 @@
 
 using Gtk;
 
-[GtkTemplate (ui = "/org/gnome/lightsoff/ui/lightsoff.ui")]
+[GtkTemplate (ui = "/org/gnome/LightsOff/ui/lightsoff.ui")]
 public class LightsoffWindow : ApplicationWindow
 {
     [GtkChild] private HeaderBar headerbar;
@@ -61,16 +61,16 @@ public class LightsoffWindow : ApplicationWindow
 
         out_game_view = gtk_game_view;
         var provider = new Gtk.CssProvider ();
-        provider.load_from_resource ("/org/gnome/lightsoff/ui/lightsoff.css");
+        provider.load_from_resource ("/org/gnome/LightsOff/ui/lightsoff.css");
         Gtk.StyleContext.add_provider_for_screen (Gdk.Screen.get_default (), provider, 
STYLE_PROVIDER_PRIORITY_APPLICATION);
         return aspect_frame;
     }
 
     public LightsoffWindow (bool gtk = false)
     {
-        settings = new GLib.Settings ("org.gnome.lightsoff");
+        settings = new GLib.Settings ("org.gnome.LightsOff");
 
-        var menu_builder = new Gtk.Builder.from_resource ("/org/gnome/lightsoff/gtk/menus.ui");
+        var menu_builder = new Gtk.Builder.from_resource ("/org/gnome/LightsOff/gtk/menus.ui");
         menu_button.set_menu_model ((GLib.Menu) menu_builder.get_object ("primary-menu"));
 
         add_action_entries (window_actions, this);
diff --git a/src/lightsoff.gresource.xml b/src/lightsoff.gresource.xml
index ecc06fb..8f254db 100644
--- a/src/lightsoff.gresource.xml
+++ b/src/lightsoff.gresource.xml
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <gresources>
-  <gresource prefix="/org/gnome/lightsoff/ui">
+  <gresource prefix="/org/gnome/LightsOff/ui">
     <file preprocess="xml-stripblanks" alias="lightsoff.ui">../data/lightsoff.ui</file>
     <file alias="lightsoff.css">../data/lightsoff.css</file>
   </gresource>
-  <gresource prefix="/org/gnome/lightsoff/gtk">
+  <gresource prefix="/org/gnome/LightsOff/gtk">
     <file preprocess="xml-stripblanks" alias="menus.ui">../data/lightsoff-menus.ui</file>
   </gresource>
 </gresources>
diff --git a/src/lightsoff.vala b/src/lightsoff.vala
index 36af964..b2bc28b 100644
--- a/src/lightsoff.vala
+++ b/src/lightsoff.vala
@@ -39,14 +39,14 @@ public class LightsOff : Gtk.Application
 
     private LightsOff ()
     {
-        Object (application_id: "org.gnome.lightsoff", flags: ApplicationFlags.FLAGS_NONE);
+        Object (application_id: "org.gnome.LightsOff", flags: ApplicationFlags.FLAGS_NONE);
     }
 
     protected override void startup ()
     {
         base.startup ();
 
-        Gtk.Window.set_default_icon_name ("org.gnome.lightsoff");
+        Gtk.Window.set_default_icon_name ("org.gnome.LightsOff");
         Gtk.Settings.get_default ().set ("gtk-application-prefer-dark-theme", true);
 
         add_action_entries (action_entries, this);
@@ -119,7 +119,7 @@ public class LightsOff : Gtk.Application
                                "artists", artists,
                                "documenters", documenters,
                                "translator-credits", _("translator-credits"),
-                               "logo-icon-name", "org.gnome.lightsoff",
+                               "logo-icon-name", "org.gnome.LightsOff",
                                "website", "https://wiki.gnome.org/Apps/Lightsoff";,
                                null);
     }


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