Browse Source

Fixed some API problems

sisyphus
JezerM 4 years ago
parent
commit
b5ec049a25
  1. 8
      web-greeter/bridge/Greeter.py

8
web-greeter/bridge/Greeter.py

@ -240,7 +240,7 @@ class Greeter(BridgeObject):
@bridge.method(result=bool) @bridge.method(result=bool)
def hibernate(self): def hibernate(self):
return LightDMGreeter.hibernate() return LightDM.hibernate()
@bridge.method(str) @bridge.method(str)
def respond(self, response): def respond(self, response):
@ -249,7 +249,7 @@ class Greeter(BridgeObject):
@bridge.method(result=bool) @bridge.method(result=bool)
def restart(self): def restart(self):
return LightDMGreeter.restart() return LightDM.restart()
@bridge.method(str) @bridge.method(str)
def set_language(self, lang): def set_language(self, lang):
@ -259,7 +259,7 @@ class Greeter(BridgeObject):
@bridge.method(result=bool) @bridge.method(result=bool)
def shutdown(self): def shutdown(self):
return LightDMGreeter.shutdown() return LightDM.shutdown()
@bridge.method(str, result=bool) @bridge.method(str, result=bool)
def start_session(self, session): def start_session(self, session):
@ -267,7 +267,7 @@ class Greeter(BridgeObject):
@bridge.method(result=bool) @bridge.method(result=bool)
def suspend(self): def suspend(self):
return LightDMGreeter.suspend() return LightDM.suspend()

Loading…
Cancel
Save