[gnome-taquin] Move more in org.gnome.Taquin.Lib.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-taquin] Move more in org.gnome.Taquin.Lib.
- Date: Thu, 1 Aug 2019 15:15:57 +0000 (UTC)
commit 4e09c44971578c0d4035b5718bcc821c8ff0a0c1
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Wed Jul 31 15:17:33 2019 +0200
Move more in org.gnome.Taquin.Lib.
data/org.gnome.Taquin.gschema.xml | 16 +++++++---------
src/night-light-monitor.vala | 2 +-
2 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/data/org.gnome.Taquin.gschema.xml b/data/org.gnome.Taquin.gschema.xml
index 7cafdbe..d10216d 100644
--- a/data/org.gnome.Taquin.gschema.xml
+++ b/data/org.gnome.Taquin.gschema.xml
@@ -1,5 +1,12 @@
<schemalist>
<schema id="org.gnome.Taquin.Lib">
+ <key name="automatic-night-mode" type="b">
+ <default>false</default>
+ <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/taquin/automatic-night-mode'
-->
+ <summary>A flag to follow system night light</summary>
+ <!-- Translators: description of a settings key, see 'dconf-editor
/org/gnome/taquin/automatic-night-mode' -->
+ <description>Use GNOME night light setting to activate night-mode.</description>
+ </key>
<key name="window-width" type="i">
<default>540</default>
<!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/taquin/window-width' -->
@@ -56,13 +63,4 @@
<description>Whether or not to play event sounds.</description>
</key>
</schema>
- <schema id="org.gnome.Taquin.NightLight">
- <key name="automatic-night-mode" type="b">
- <default>false</default>
- <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/taquin/automatic-night-mode'
-->
- <summary>Follow system night light</summary>
- <!-- Translators: description of a settings key, see 'dconf-editor
/org/gnome/taquin/automatic-night-mode' -->
- <description>Use GNOME night light setting to activate night-mode.</description>
- </key>
- </schema>
</schemalist>
diff --git a/src/night-light-monitor.vala b/src/night-light-monitor.vala
index ea99fa8..68ab8a7 100644
--- a/src/night-light-monitor.vala
+++ b/src/night-light-monitor.vala
@@ -37,7 +37,7 @@ private class NightLightMonitor : Object
"Something went wrong getting GtkSettings default object, doing nothing.";
// schema static things
- private const string schema_name = "org.gnome.Taquin.NightLight"; // TODO put in a library
+ private const string schema_name = "org.gnome.Taquin.Lib";
private const string automatic_night_mode_key = "automatic-night-mode";
/*\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]