mirror of
https://github.com/gryf/wicd.git
synced 2025-12-23 14:42:29 +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:
@@ -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
|
||||||
|
|||||||
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user