From 17941cf85306a6e7b6676bc7dfee01b8e429c7c8 Mon Sep 17 00:00:00 2001 From: Adam Blackburn Date: Mon, 26 Jan 2009 11:15:35 +0800 Subject: [PATCH] Fixed some typos in the hidden network code and fix a bug if you try to start the tray icon without the daemon --- wicd/wicd-client.py | 1 + wicd/wicd-daemon.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wicd/wicd-client.py b/wicd/wicd-client.py index b751965..dc14add 100755 --- a/wicd/wicd-client.py +++ b/wicd/wicd-client.py @@ -44,6 +44,7 @@ import os import pango import time import atexit +from dbus import DBusException # Wicd specific imports from wicd import wpath diff --git a/wicd/wicd-daemon.py b/wicd/wicd-daemon.py index fb45e54..9314df4 100644 --- a/wicd/wicd-daemon.py +++ b/wicd/wicd-daemon.py @@ -1147,7 +1147,7 @@ class WirelessDaemon(dbus.service.Object): # Read the essid because we need to name those hidden # wireless networks now - but only read it if it is hidden. if cur_network["hidden"]: - cur_network["essid"] = config.get(section, x) + cur_network["essid"] = self.config.get(section, "essid") if cur_network["essid"] in ["", "Hidden", ""]: cur_network["essid"] = "" for x in self.config.options(section):