1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-20 04:48:00 +01:00

Fixed bug where manually opened (not opened with the tray) gui.py would reopen when closed.

This commit is contained in:
imdano
2007-08-31 08:19:13 +00:00
parent 82958861a7
commit 7176183b47
2 changed files with 19 additions and 15 deletions

View File

@@ -421,7 +421,7 @@ class ConnectionWizard(dbus.service.Object):
print 'calling wired profile chooser'
@dbus.service.signal(dbus_interface='org.wicd.daemon',signature='')
def CloseGui(self):
def CloseGui(self, killed):
''' Sends a dbus signal announcing the GUI is closing '''
print 'sending close signal'
@dbus.service.method('org.wicd.daemon')
@@ -433,7 +433,7 @@ class ConnectionWizard(dbus.service.Object):
service.method and service.signal
'''
self.CloseGui()
self.CloseGui(True)
########## WIRELESS FUNCTIONS
#################################
@@ -1196,7 +1196,6 @@ class ConnectionWizard(dbus.service.Object):
#end function ReadConfig
def usage():
print """
wicd 1.33