1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-23 22:52:33 +01:00

Fixed some typos in the hidden network code and fix a bug if you try to start the tray icon without the daemon

This commit is contained in:
Adam Blackburn
2009-01-26 11:15:35 +08:00
parent 821333345b
commit 17941cf853
2 changed files with 2 additions and 1 deletions

View File

@@ -44,6 +44,7 @@ import os
import pango import pango
import time import time
import atexit import atexit
from dbus import DBusException
# Wicd specific imports # Wicd specific imports
from wicd import wpath from wicd import wpath

View File

@@ -1147,7 +1147,7 @@ class WirelessDaemon(dbus.service.Object):
# Read the essid because we need to name those hidden # Read the essid because we need to name those hidden
# wireless networks now - but only read it if it is hidden. # wireless networks now - but only read it if it is hidden.
if cur_network["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", "<hidden>"]: if cur_network["essid"] in ["", "Hidden", "<hidden>"]:
cur_network["essid"] = "<hidden>" cur_network["essid"] = "<hidden>"
for x in self.config.options(section): for x in self.config.options(section):