[rygel/config] Don't capitalize the gconf keys unless it's an abbrev.



commit de493a41bf5cd5f6b40582b809c31a97b928da66
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Apr 21 18:52:59 2009 +0300

    Don't capitalize the gconf keys unless it's an abbrev.
---
 src/rygel/rygel-config-reader.vala |    2 +-
 src/ui/rygel-config-editor.vala    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/rygel/rygel-config-reader.vala b/src/rygel/rygel-config-reader.vala
index e1918e2..e955c63 100644
--- a/src/rygel/rygel-config-reader.vala
+++ b/src/rygel/rygel-config-reader.vala
@@ -46,7 +46,7 @@ public class Rygel.ConfigReader {
     }
 
     public string get_title (string section) {
-        return this.get_string (section, "Title", section);
+        return this.get_string (section, "title", section);
     }
 
     public string get_udn (string section) {
diff --git a/src/ui/rygel-config-editor.vala b/src/ui/rygel-config-editor.vala
index 74929cd..2f0acd9 100644
--- a/src/ui/rygel-config-editor.vala
+++ b/src/ui/rygel-config-editor.vala
@@ -34,7 +34,7 @@ public class Rygel.ConfigEditor : ConfigReader {
     }
 
     public void set_title (string section, string title) {
-        this.set_string (section, "Title", title);
+        this.set_string (section, "title", title);
     }
 
     public void set_udn (string section, string? udn) {



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