mirror of
https://github.com/gryf/wicd.git
synced 2025-12-20 04:48:00 +01:00
fixed a bug in the open/close gui function in dapper.py
fixed a bug in getdebugmode function in daemon.py
This commit is contained in:
@@ -275,7 +275,7 @@ class ConnectionWizard(dbus.service.Object):
|
|||||||
@dbus.service.method('org.wicd.daemon')
|
@dbus.service.method('org.wicd.daemon')
|
||||||
def GetDebugMode(self):
|
def GetDebugMode(self):
|
||||||
'''returns whether debugging is enabled'''
|
'''returns whether debugging is enabled'''
|
||||||
return bool(int(self.debug_mode))
|
return self.debug_mode
|
||||||
#end function GetDebugMode
|
#end function GetDebugMode
|
||||||
|
|
||||||
@dbus.service.method('org.wicd.daemon')
|
@dbus.service.method('org.wicd.daemon')
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
import os,sys
|
import os,sys
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
os.chdir(os.path.dirname(os.path.normpath(os.path.join(os.getcwd(),sys.argv[0]))))
|
os.chdir(os.path.dirname(os.path.normpath(os.path.join(os.getcwd(),sys.argv[0]))))
|
||||||
import gtk,locale,gettext
|
import gtk,locale,gettext,signal
|
||||||
import egg.trayicon
|
import egg.trayicon
|
||||||
import gobject, dbus, dbus.service
|
import gobject, dbus, dbus.service
|
||||||
if getattr(dbus, 'version', (0,0,0)) >= (0,41,0):
|
if getattr(dbus, 'version', (0,0,0)) >= (0,41,0):
|
||||||
|
|||||||
Reference in New Issue
Block a user