Commit d4391086 authored by Bilal Elmoussaoui's avatar Bilal Elmoussaoui Committed by Christopher Davis

gsettings: set the same id as the app one

this will allow us later to have dual installation with difference app-id's
parent cab0f8ab
......@@ -32,9 +32,10 @@ endif
gsettings_conf = configuration_data()
gsettings_conf.set('GETTEXT_PACKAGE', meson.project_name ())
gsettings_conf.set('APP_ID', application_id)
configure_file(
input: 'org.gnome.gnome-sound-recorder.gschema.xml',
output: 'org.gnome.gnound-sound-recorder.gschema.xml',
input: '@0@.gschema.xml.in'.format(application_id),
output: '@0@.gschema.xml'.format(application_id),
configuration: gsettings_conf,
install: true,
install_dir: sound_recorder_schemadir
......
<schemalist>
<schema id="org.gnome.gnome-sound-recorder" path="/org/gnome/gnome-sound-recorder/" gettext-domain="gnome-sound-recorder">
<schema id="@APP_ID@" path="/org/gnome/SoundRecorder/" gettext-domain="@GETTEXT_PACKAGE@">
<key name="window-size" type="ai">
<default>[780, 480]</default>
<summary>Window size</summary>
......
......@@ -75,7 +75,7 @@ var Application = new Lang.Class({
Gst.init(null);
this._initAppMenu();
application = this;
settings = new Gio.Settings({ schema: 'org.gnome.gnome-sound-recorder' });
settings = new Gio.Settings({ schema: 'org.gnome.SoundRecorder' });
this.ensure_directory();
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment