1
0
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:
imdano
2007-12-10 16:48:37 +00:00
parent d2c300502e
commit c5863cf56f
3 changed files with 242 additions and 205 deletions

2
gui.py
View File

@@ -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: