[gnome-mahjongg] Rename gschema file



commit 7ab9e2e848a27ab5f846873a09939652d9faea76
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Wed Jun 25 15:06:04 2014 -0500

    Rename gschema file
    
    It's a little mean to reset user settings, but only a little, and I
    dislike this redundant schema name more than I should. Mahjongg and
    Chess were the only games with redundant names (besides Sudoku, which is
    losing all of its previous settings anyway), so now there are none.
    
    Also, fix gettext domain

 data/Makefile.am                                   |    2 +-
 ....gschema.xml => org.gnome.mahjongg.gschema.xml} |    2 +-
 po/POTFILES.in                                     |    2 +-
 src/gnome-mahjongg.vala                            |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 26eeec1..da30342 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -10,7 +10,7 @@ theme_DATA = \
        postmodern.svg  \
        smooth.png
 
-gsettings_SCHEMAS = org.gnome.gnome-mahjongg.gschema.xml
+gsettings_SCHEMAS = org.gnome.mahjongg.gschema.xml
 @GSETTINGS_RULES@
 
 man_MANS = gnome-mahjongg.6
diff --git a/data/org.gnome.gnome-mahjongg.gschema.xml b/data/org.gnome.mahjongg.gschema.xml
similarity index 88%
rename from data/org.gnome.gnome-mahjongg.gschema.xml
rename to data/org.gnome.mahjongg.gschema.xml
index a08404e..2dcc8ea 100644
--- a/data/org.gnome.gnome-mahjongg.gschema.xml
+++ b/data/org.gnome.mahjongg.gschema.xml
@@ -1,5 +1,5 @@
 <schemalist>
-  <schema id="org.gnome.gnome-mahjongg" path="/org/gnome/gnome-mahjongg/" gettext-domain="gnome-games">
+  <schema id="org.gnome.mahjongg" path="/org/gnome/mahjongg/" gettext-domain="gnome-mahjongg">
     <key name="show-toolbar" type="b">
       <default>true</default>
     </key>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 0412835..21b0798 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -3,7 +3,7 @@
 [encoding: UTF-8]
 data/gnome-mahjongg.appdata.xml.in
 data/gnome-mahjongg.desktop.in
-data/org.gnome.gnome-mahjongg.gschema.xml
+data/org.gnome.mahjongg.gschema.xml
 data/translatable_game_names.h
 src/game.vala
 src/game-view.vala
diff --git a/src/gnome-mahjongg.vala b/src/gnome-mahjongg.vala
index e7348c8..de5168f 100644
--- a/src/gnome-mahjongg.vala
+++ b/src/gnome-mahjongg.vala
@@ -44,7 +44,7 @@ public class Mahjongg : Gtk.Application
     {
         base.startup ();
 
-        settings = new Settings ("org.gnome.gnome-mahjongg");
+        settings = new Settings ("org.gnome.mahjongg");
 
         var builder = new Gtk.Builder ();
         try {


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