def __init__(self): bus_name = dbus.service.BusName( 'org.ibus.typingbooster', bus=dbus.SessionBus()) dbus.service.Object.__init__(self, bus_name, '/org/ibus/typingbooster')