[rygel] core,data: Correct name of 'upnp_enabled' in user config



commit 573db31ca6aead001d37d7525bc66b0ddc3e6f93
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Fri Dec 17 17:52:12 2010 +0200

    core,data: Correct name of 'upnp_enabled' in user config

 data/rygel-default.conf          |    2 +-
 data/rygel-maemo.conf            |    2 +-
 src/rygel/rygel-user-config.vala |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/rygel-default.conf b/data/rygel-default.conf
index 530e650..f82299e 100644
--- a/data/rygel-default.conf
+++ b/data/rygel-default.conf
@@ -8,7 +8,7 @@
 # Set it to 'false' if you want to only use the streaming part of Rygel and/or
 # don't want it to advertize itself on the UPnP network. If you want to
 # completely disable rygel, just don't run it then. :)
-enabled=true
+upnp_enabled=true
 
 # Set it to 'false' if you want to disable transcoding support.
 enable-transcoding=true
diff --git a/data/rygel-maemo.conf b/data/rygel-maemo.conf
index 3dd4332..b4311f5 100644
--- a/data/rygel-maemo.conf
+++ b/data/rygel-maemo.conf
@@ -8,7 +8,7 @@
 # Set it to 'false' if you want to only use the streaming part of Rygel and/or
 # don't want it to advertize itself on the UPnP network. If you want to
 # completely disable rygel, just don't run it then. :)
-enabled=true
+upnp_enabled=true
 
 # Set it to 'false' if you want to disable transcoding support.
 enable-transcoding=true
diff --git a/src/rygel/rygel-user-config.vala b/src/rygel/rygel-user-config.vala
index fb8f0a3..2e30042 100644
--- a/src/rygel/rygel-user-config.vala
+++ b/src/rygel/rygel-user-config.vala
@@ -31,7 +31,7 @@ public class Rygel.UserConfig : GLib.Object, Configuration {
     public static const string CONFIG_FILE = "rygel.conf";
     public static const string IFACE_KEY = "interface";
     public static const string PORT_KEY = "port";
-    public static const string ENABLED_KEY = "enabled";
+    public static const string ENABLED_KEY = "upnp_enabled";
     public static const string TITLE_KEY = "title";
     public static const string TRANSCODING_KEY = "enable-transcoding";
     public static const string MP3_TRANSCODER_KEY = "enable-mp3-transcoder";



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