[rygel] ui: "port" key is now also optional
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Subject: [rygel] ui: "port" key is now also optional
- Date: Sat, 4 Jul 2009 15:14:31 +0000 (UTC)
commit cf07aa11f2e510a23143dab367202043531bc524
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Jun 24 17:19:29 2009 +0300
ui: "port" key is now also optional
src/ui/rygel-general-pref-section.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ui/rygel-general-pref-section.vala b/src/ui/rygel-general-pref-section.vala
index 961d511..2c48f58 100644
--- a/src/ui/rygel-general-pref-section.vala
+++ b/src/ui/rygel-general-pref-section.vala
@@ -62,6 +62,7 @@ public class Rygel.GeneralPrefSection : PreferencesSection {
try {
this.ip_entry.set_text (config.get_host_ip ());
+ this.port_spin.set_value (config.get_port ());
} catch (GLib.Error err) {
// No problem if we fail to read the config, the default values
// will do just fine
@@ -70,7 +71,6 @@ public class Rygel.GeneralPrefSection : PreferencesSection {
// We put these calls in separate try/catch block since its uncommon
// for these to fail
try {
- this.port_spin.set_value (config.get_port ());
this.upnp_check.active = this.config.get_upnp_enabled ();
this.trans_check.active = this.config.get_transcoding ();
this.mp3_check.active = this.config.get_mp3_transcoder ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]