[calls] schema: Use org.gnome prefix and adapt to changes



commit b74601f7c42705b6ce8f3fb3af8a92a959c84090
Author: Evangelos Ribeiro Tzaras <evangelos tzaras puri sm>
Date:   Sat Jul 10 04:19:53 2021 +0200

    schema: Use org.gnome prefix and adapt to changes
    
    In preparation to moving to GNOME all the IDs, DBus object paths, etc should
    change.

 data/meson.build                                                | 2 +-
 data/{sm.puri.Calls.gschema.xml => org.gnome.Calls.gschema.xml} | 2 +-
 src/calls-settings.c                                            | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 6f593cb3..5cdfeab5 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -68,7 +68,7 @@ install_data(
   )
 )
 
-schema_src = 'sm.puri.Calls.gschema.xml'
+schema_src = 'org.gnome.Calls.gschema.xml'
 compiled = gnome.compile_schemas(build_by_default: true,
                                  depend_files: files(schema_src))
 
diff --git a/data/sm.puri.Calls.gschema.xml b/data/org.gnome.Calls.gschema.xml
similarity index 93%
rename from data/sm.puri.Calls.gschema.xml
rename to data/org.gnome.Calls.gschema.xml
index 282e449a..eee54406 100644
--- a/data/sm.puri.Calls.gschema.xml
+++ b/data/org.gnome.Calls.gschema.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <schemalist gettext-domain="purism-calls">
-  <schema id="sm.puri.Calls" path="/sm/puri/Calls/">
+  <schema id="org.gnome.Calls" path="/org/gnome/Calls/">
 
     <key name="auto-use-default-origins" type="b">
       <default>true</default>
diff --git a/src/calls-settings.c b/src/calls-settings.c
index c33d7668..8aa3dafb 100644
--- a/src/calls-settings.c
+++ b/src/calls-settings.c
@@ -169,7 +169,7 @@ calls_settings_class_init (CallsSettingsClass *klass)
 static void
 calls_settings_init (CallsSettings *self)
 {
-  self->settings = g_settings_new ("sm.puri.Calls");
+  self->settings = g_settings_new ("org.gnome.Calls");
 }
 
 /**


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