[rygel] ui: Use the correct key for 'UPnP enabled' option
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] ui: Use the correct key for 'UPnP enabled' option
- Date: Thu, 17 Feb 2011 23:49:17 +0000 (UTC)
commit 1a908eeee2a269bd911f94381947eeffbe68b51d
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Thu Feb 17 14:39:10 2011 +0200
ui: Use the correct key for 'UPnP enabled' option
src/ui/rygel-writable-user-config.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]