From: Zeeshan Ali (Khattak) Date: Thu, 17 Feb 2011 12:39:10 +0000 (+0200) Subject: ui: Use the correct key for 'UPnP enabled' option X-Git-Tag: RYGEL_0_9_9~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a908eeee2a269bd911f94381947eeffbe68b51d;p=profile%2Fivi%2Frygel.git ui: Use the correct key for 'UPnP enabled' option --- diff --git a/src/ui/rygel-writable-user-config.vala b/src/ui/rygel-writable-user-config.vala index 6b2fd84..18cb193 100644 --- a/src/ui/rygel-writable-user-config.vala +++ b/src/ui/rygel-writable-user-config.vala @@ -168,7 +168,7 @@ public class Rygel.WritableUserConfig : Rygel.UserConfig { this.set_bool ("general", UPNP_ENABLED_KEY, true); } else { // Stop service only if already running - if (this.get_enabled ("general")) { + if (this.get_upnp_enabled ()) { // Create proxy to Rygel DBusInterface rygel_proxy = Bus.get_proxy_sync (BusType.SESSION,