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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user