mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
simplified MPRISInterface.Quit()
This commit is contained in:
parent
4766f3681d
commit
08a6b223e3
@ -353,9 +353,7 @@ class MPRISInterface: # TODO emit Seeked if needed
|
|||||||
self._window.present()
|
self._window.present()
|
||||||
|
|
||||||
def Quit(self):
|
def Quit(self):
|
||||||
app_action_group=self._window.get_action_group("app")
|
self._window.get_application().quit()
|
||||||
quit_action=app_action_group.lookup_action("quit")
|
|
||||||
quit_action.activate()
|
|
||||||
|
|
||||||
# player methods
|
# player methods
|
||||||
def Next(self):
|
def Next(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user