[gnome-flashback] schemas: move child schemas to new files



commit 3b9fd418695999ba442abbb17339fe1839e69cc3
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Nov 13 21:54:56 2016 +0200

    schemas: move child schemas to new files

 data/schemas/Makefile.am                           |    3 +
 ....gnome-flashback.desktop-background.gschema.xml |    9 ++++
 data/schemas/org.gnome.gnome-flashback.gschema.xml |   47 --------------------
 ...gnome.gnome-flashback.input-sources.gschema.xml |   15 ++++++
 ...g.gnome.gnome-flashback.workarounds.gschema.xml |   15 ++++++
 po/POTFILES.in                                     |    3 +
 6 files changed, 45 insertions(+), 47 deletions(-)
---
diff --git a/data/schemas/Makefile.am b/data/schemas/Makefile.am
index cf70235..a286b90 100644
--- a/data/schemas/Makefile.am
+++ b/data/schemas/Makefile.am
@@ -2,6 +2,9 @@ NULL =
 
 gsettings_SCHEMAS = \
        org.gnome.gnome-flashback.gschema.xml \
+       org.gnome.gnome-flashback.desktop-background.gschema.xml \
+       org.gnome.gnome-flashback.input-sources.gschema.xml \
+       org.gnome.gnome-flashback.workarounds.gschema.xml \
        $(NULL)
 
 @GSETTINGS_RULES@
diff --git a/data/schemas/org.gnome.gnome-flashback.desktop-background.gschema.xml 
b/data/schemas/org.gnome.gnome-flashback.desktop-background.gschema.xml
new file mode 100644
index 0000000..10a55b3
--- /dev/null
+++ b/data/schemas/org.gnome.gnome-flashback.desktop-background.gschema.xml
@@ -0,0 +1,9 @@
+<schemalist gettext-domain="gnome-flashback">
+  <schema id="org.gnome.gnome-flashback.desktop-background" 
path="/org/gnome/gnome-flashback/desktop-background/">
+    <key name="fade" type="b">
+      <default>true</default>
+      <summary>Fade the background on change</summary>
+      <description>If set to true, then fade effect will be used to change the desktop 
background.</description>
+    </key>
+  </schema>
+</schemalist>
diff --git a/data/schemas/org.gnome.gnome-flashback.gschema.xml 
b/data/schemas/org.gnome.gnome-flashback.gschema.xml
index b7a7a67..9f5b51e 100644
--- a/data/schemas/org.gnome.gnome-flashback.gschema.xml
+++ b/data/schemas/org.gnome.gnome-flashback.gschema.xml
@@ -1,6 +1,5 @@
 <schemalist gettext-domain="gnome-flashback">
   <schema id="org.gnome.gnome-flashback" path="/org/gnome/gnome-flashback/">
-
     <key name="audio-device-selection" type="b">
       <default>true</default>
       <summary>Audio device selection</summary>
@@ -113,51 +112,5 @@
       <summary>Workarounds</summary>
       <description>If set to true, then GNOME Flashback application will use workarounds to fix 
bugs.</description>
     </key>
-
-    <child name="desktop-background" schema="org.gnome.gnome-flashback.desktop-background"/>
-    <child name="input-sources" schema="org.gnome.gnome-flashback.input-sources"/>
-    <child name="workarounds" schema="org.gnome.gnome-flashback.workarounds"/>
-  </schema>
-
-  <schema id="org.gnome.gnome-flashback.desktop-background" 
path="/org/gnome/gnome-flashback/desktop-background/">
-
-    <key name="fade" type="b">
-      <default>true</default>
-      <summary>Fade the background on change</summary>
-      <description>If set to true, then fade effect will be used to change the desktop 
background.</description>
-    </key>
-
-  </schema>
-
-  <schema id="org.gnome.gnome-flashback.input-sources" path="/org/gnome/gnome-flashback/input-sources/">
-
-      <key name="status-icon-bg-color" type="s">
-          <default>'#FFFFFF'</default>
-          <summary>The background color for the status icon.</summary>
-          <description>This contains the background color for the status icon that is shown in the system 
tray.</description>
-      </key>
-
-      <key name="status-icon-fg-color" type="s">
-          <default>'#000000'</default>
-          <summary>The foreground color for the status icon.</summary>
-          <description>This contains the foreground color for the status icon that is shown in the system 
tray.</description>
-      </key>
-
-  </schema>
-
-  <schema id="org.gnome.gnome-flashback.workarounds" path="/org/gnome/gnome-flashback/workarounds/">
-
-    <key name="fix-app-menu" type="b">
-      <default>true</default>
-      <summary>Fix missing app menu button</summary>
-      <description>If set to true, then gnome-flashback will force Gtk/ShellShowsAppMenu to FALSE. Disable 
if you want to use gnome-settings-daemon overrides in xsettings plugin for 'Gtk/ShellShowsAppMenu' 
property.</description>
-    </key>
-
-    <key name="fix-button-layout" type="s">
-      <default>'menu:minimize,maximize,close'</default>
-      <summary>Fix wrong button layout</summary>
-      <description>If set to non-empty string, then gnome-flashback will force Gtk/DecorationLayout to value 
set by this setting. Set to empty string if you want to use gnome-settings-daemon overrides in xsettings 
plugin for 'Gtk/DecorationLayout' property.</description>
-    </key>
-
   </schema>
 </schemalist>
diff --git a/data/schemas/org.gnome.gnome-flashback.input-sources.gschema.xml 
b/data/schemas/org.gnome.gnome-flashback.input-sources.gschema.xml
new file mode 100644
index 0000000..15288e9
--- /dev/null
+++ b/data/schemas/org.gnome.gnome-flashback.input-sources.gschema.xml
@@ -0,0 +1,15 @@
+<schemalist gettext-domain="gnome-flashback">
+  <schema id="org.gnome.gnome-flashback.input-sources" path="/org/gnome/gnome-flashback/input-sources/">
+    <key name="status-icon-bg-color" type="s">
+        <default>'#FFFFFF'</default>
+        <summary>The background color for the status icon.</summary>
+        <description>This contains the background color for the status icon that is shown in the system 
tray.</description>
+    </key>
+
+    <key name="status-icon-fg-color" type="s">
+        <default>'#000000'</default>
+        <summary>The foreground color for the status icon.</summary>
+        <description>This contains the foreground color for the status icon that is shown in the system 
tray.</description>
+    </key>
+  </schema>
+</schemalist>
diff --git a/data/schemas/org.gnome.gnome-flashback.workarounds.gschema.xml 
b/data/schemas/org.gnome.gnome-flashback.workarounds.gschema.xml
new file mode 100644
index 0000000..ae8859a
--- /dev/null
+++ b/data/schemas/org.gnome.gnome-flashback.workarounds.gschema.xml
@@ -0,0 +1,15 @@
+<schemalist gettext-domain="gnome-flashback">
+  <schema id="org.gnome.gnome-flashback.workarounds" path="/org/gnome/gnome-flashback/workarounds/">
+    <key name="fix-app-menu" type="b">
+      <default>true</default>
+      <summary>Fix missing app menu button</summary>
+      <description>If set to true, then gnome-flashback will force Gtk/ShellShowsAppMenu to FALSE. Disable 
if you want to use gnome-settings-daemon overrides in xsettings plugin for 'Gtk/ShellShowsAppMenu' 
property.</description>
+    </key>
+
+    <key name="fix-button-layout" type="s">
+      <default>'menu:minimize,maximize,close'</default>
+      <summary>Fix wrong button layout</summary>
+      <description>If set to non-empty string, then gnome-flashback will force Gtk/DecorationLayout to value 
set by this setting. Set to empty string if you want to use gnome-settings-daemon overrides in xsettings 
plugin for 'Gtk/DecorationLayout' property.</description>
+    </key>
+  </schema>
+</schemalist>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 0dfc83c..894a990 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -7,6 +7,9 @@ data/autostart/gnome-flashback-screensaver.desktop.in
 data/directories/X-GNOME-Flashback-Settings.directory.desktop.in
 data/directories/X-GNOME-Flashback-Settings-System.directory.desktop.in
 data/schemas/org.gnome.gnome-flashback.gschema.xml
+data/schemas/org.gnome.gnome-flashback.desktop-background.gschema.xml
+data/schemas/org.gnome.gnome-flashback.input-sources.gschema.xml
+data/schemas/org.gnome.gnome-flashback.workarounds.gschema.xml
 data/xsessions/gnome-flashback-compiz.desktop.in.in
 data/xsessions/gnome-flashback-metacity.desktop.in.in
 gnome-flashback/gf-main.c


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