[gnome-chess] Rename gschema file



commit dbcf503ee37561b7a2de9934511bae883e1be357
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue Jun 24 21:25:15 2014 -0500

    Rename gschema file
    
    It's a little mean to reset users' settings, but I dislike the current
    redundant name more strongly than I probably should. And only a little.
    
    Also, fix i18n of the gschema

 data/Makefile.am                                   |    2 +-
 ...ess.gschema.xml => org.gnome.chess.gschema.xml} |   14 +++++++-------
 po/POTFILES.in                                     |    2 +-
 src/gnome-chess.vala                               |    2 +-
 4 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index c420d57..0f94ba2 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -17,7 +17,7 @@ dist_ui_DATA = \
        promotion-type-selector.ui \
        menu.ui
 
-gsettings_SCHEMAS = org.gnome.gnome-chess.gschema.xml
+gsettings_SCHEMAS = org.gnome.chess.gschema.xml
 @GSETTINGS_RULES@
 
 pkgsysconfdir = $(sysconfdir)/gnome-chess
diff --git a/data/org.gnome.gnome-chess.gschema.xml b/data/org.gnome.chess.gschema.xml
similarity index 89%
rename from data/org.gnome.gnome-chess.gschema.xml
rename to data/org.gnome.chess.gschema.xml
index 52945cc..eef1b70 100644
--- a/data/org.gnome.gnome-chess.gschema.xml
+++ b/data/org.gnome.chess.gschema.xml
@@ -1,26 +1,26 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <schemalist>
-  <enum id="org.gnome.gnome-chess.MoveFormat">
+  <enum id="org.gnome.chess.MoveFormat">
     <value value="0" nick="human"/>
     <value value="1" nick="san"/>
     <value value="2" nick="fan"/>
     <value value="3" nick="lan"/>
   </enum>
 
-  <enum id="org.gnome.gnome-chess.BoardSide">
+  <enum id="org.gnome.chess.BoardSide">
     <value value="0" nick="white"/>
     <value value="1" nick="black"/>
     <value value="2" nick="human"/>
     <value value="3" nick="current"/>
   </enum>
 
-  <enum id="org.gnome.gnome-chess.Difficulty">
+  <enum id="org.gnome.chess.Difficulty">
     <value value="0" nick="easy"/>
     <value value="1" nick="normal"/>
     <value value="2" nick="hard"/>
   </enum>
 
-  <schema id="org.gnome.gnome-chess" path="/org/gnome/gnome-chess/" gettext-domain="gnome-games">
+  <schema id="org.gnome.chess" path="/org/gnome/chess/" gettext-domain="gnome-chess">
     <key name="width" type="i">
       <default>700</default>
       <summary>The width of the window</summary>
@@ -71,12 +71,12 @@
       <summary>The directory to open the load game dialog in</summary>
       <description>The directory to open the load game dialog in</description>
     </key>
-    <key name="move-format" enum="org.gnome.gnome-chess.MoveFormat">
+    <key name="move-format" enum="org.gnome.chess.MoveFormat">
       <default>'human'</default>
       <summary>The format to display moves in</summary>
       <description>The format to display moves in</description>
     </key>
-    <key name="board-side" enum="org.gnome.gnome-chess.BoardSide">
+    <key name="board-side" enum="org.gnome.chess.BoardSide">
       <default>'human'</default>
       <summary>The side of the board that is in the foreground</summary>
       <description>The side of the board that is in the foreground</description>
@@ -96,7 +96,7 @@
       <summary>The opponent player</summary>
       <description>Can be 'human' (play against another human player), '' (use the first available chess 
engine) or the name of a specific engine to play against</description>
     </key>
-    <key name="difficulty" enum="org.gnome.gnome-chess.Difficulty">
+    <key name="difficulty" enum="org.gnome.chess.Difficulty">
       <default>'easy'</default>
       <summary>Difficulty of the opponent chess engine</summary>
       <description>Difficulty of the opponent chess engine</description>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 73275bb..080795c 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -5,7 +5,7 @@ data/gnome-chess.appdata.xml.in
 data/gnome-chess.desktop.in
 [type: gettext/glade]data/gnome-chess.ui
 [type: gettext/glade]data/menu.ui
-data/org.gnome.gnome-chess.gschema.xml
+data/org.gnome.chess.gschema.xml
 [type: gettext/glade]data/preferences.ui
 [type: gettext/glade]data/promotion-type-selector.ui
 src/3ds.vala
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index 8a0fbcf..bf5c238 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -135,7 +135,7 @@ public class ChessApplication : Gtk.Application
         Environment.set_application_name (_("Chess"));
         Gtk.Window.set_default_icon_name ("gnome-chess");
 
-        settings = new Settings ("org.gnome.gnome-chess");
+        settings = new Settings ("org.gnome.chess");
 
         add_action_entries (app_entries, this);
     }


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