[gnome-sound-recorder/issue_17: 1/6] GSchema file should be xml, not xml.in



commit 74c49e19f7ba84afc71fb4d2ccb7ef75c13204e7
Author: Meg Ford <megford gnome org>
Date:   Mon Feb 18 18:35:08 2019 -0600

    GSchema file should be xml, not xml.in

 data/meson.build                                               | 10 ++--------
 ...rder.gschema.xml.in => org.gnome.SoundRecorder.gschema.xml} |  7 ++++++-
 2 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index d5d4c4e..cef1c1e 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -30,14 +30,8 @@ if desktop_file_validate.found()
   )
 endif
 
-gsettings_conf = configuration_data()
-gsettings_conf.set('GETTEXT_PACKAGE', meson.project_name ())
-gsettings_conf.set('APP_ID', application_id)
-configure_file(
-  input: '@0  gschema xml in'.format(application_id),
-  output: '@0  gschema xml'.format(application_id),
-  configuration: gsettings_conf,
-  install: true,
+install_data(
+  application_id + '.gschema.xml',
   install_dir: sound_recorder_schemadir
 )
 
diff --git a/data/org.gnome.SoundRecorder.gschema.xml.in b/data/org.gnome.SoundRecorder.gschema.xml
similarity index 78%
rename from data/org.gnome.SoundRecorder.gschema.xml.in
rename to data/org.gnome.SoundRecorder.gschema.xml
index 921de54..74800e0 100644
--- a/data/org.gnome.SoundRecorder.gschema.xml.in
+++ b/data/org.gnome.SoundRecorder.gschema.xml
@@ -1,5 +1,5 @@
 <schemalist>
-  <schema id="@APP_ID@" path="/org/gnome/SoundRecorder/" gettext-domain="@GETTEXT_PACKAGE@">
+  <schema id="org.gnome.SoundRecorder" path="/org/gnome/SoundRecorder/" gettext-domain="SoundRecorder">
     <key name="window-size" type="ai">
       <default>[780, 480]</default>
       <summary>Window size</summary>
@@ -30,6 +30,11 @@
       <summary>Speaker volume level</summary>
       <description>Speaker volume level.</description>
     </key>
+    <key name="file-extension" type="b">
+      <default>true</default>
+      <summary>Show file extension</summary>
+      <description>Shows file extension in filename. If there is no mapping set, file extension will not be 
shown.</description>
+    </key>
   </schema>
 </schemalist>
 


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