[banshee/gsettings: 4/7] Settings: Remove from the schema keys only stored in the database
- From: Bertrand Lorentz <blorentz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/gsettings: 4/7] Settings: Remove from the schema keys only stored in the database
- Date: Sat, 12 Oct 2013 22:27:01 +0000 (UTC)
commit 2e5a83c81a1b52a5fe94781f3f0231eab11dbb7f
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date: Sat Oct 12 23:08:41 2013 +0200
Settings: Remove from the schema keys only stored in the database
data/org.gnome.banshee.gschema.xml.in | 10 ----------
.../Banshee.PlayQueue/PlayQueueSource.cs | 5 +----
2 files changed, 1 insertions(+), 14 deletions(-)
---
diff --git a/data/org.gnome.banshee.gschema.xml.in b/data/org.gnome.banshee.gschema.xml.in
index eb8a2fe..bb0937b 100644
--- a/data/org.gnome.banshee.gschema.xml.in
+++ b/data/org.gnome.banshee.gschema.xml.in
@@ -616,16 +616,6 @@
<summary>Clear on Quit</summary>
<description>Clear the play queue when quitting</description>
</key>
- <key name="current-track" type="i">
- <default>0</default>
- <summary>Current Track</summary>
- <description>Current track in the Play Queue</description>
- </key>
- <key name="current-offset" type="i">
- <default>0</default>
- <summary>Current Offset</summary>
- <description>Current offset of the Play Queue</description>
- </key>
<key name="populate-shuffle-mode" type="s">
<default>'off'</default>
<summary>Play Queue population mode</summary>
diff --git a/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs
b/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs
index a85059a..d681321 100644
--- a/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs
+++ b/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs
@@ -989,16 +989,13 @@ namespace Banshee.PlayQueue
"Clear the play queue when quitting"
);
- // TODO: By 1.8 next two schemas can be removed. They are kept only to ease
- // the migration from GConfConfigurationClient to DatabaseConfigurationClient.
-
+ // The next 2 schemas are only used with DatabaseConfigurationClient
private static readonly SchemaEntry<int> CurrentTrackSchema = new SchemaEntry<int> (
"plugins.play_queue", "current_track",
0,
"Current Track",
"Current track in the Play Queue"
);
-
private static readonly SchemaEntry<int> CurrentOffsetSchema = new SchemaEntry<int> (
"plugins.play_queue", "current_offset",
0,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]