mirror of
https://github.com/gryf/wicd.git
synced 2025-12-20 04:48:00 +01:00
Moved autoreconnect code and connection status updates into the daemon. Daemon now sends D-Bus signals when status changes, which the tray listens for and updates icon/tooltip when received.
This commit is contained in:
2
gui.py
2
gui.py
@@ -43,7 +43,7 @@ if getattr(dbus, 'version', (0,0,0)) >= (0,41,0):
|
||||
#in any class
|
||||
bus = dbus.SystemBus()
|
||||
try:
|
||||
print 'attempting to connect daemon...'
|
||||
print 'Attempting to connect daemon to gui...'
|
||||
proxy_obj = bus.get_object('org.wicd.daemon', '/org/wicd/daemon')
|
||||
print 'success'
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user