mirror of
https://github.com/nikdoof/oblogout.git
synced 2025-12-21 14:29:24 +00:00
Fixed dbus call for reboot
This commit is contained in:
@@ -305,7 +305,7 @@ class OpenboxLogout():
|
||||
elif (data == 'logout'):
|
||||
os.system('openbox --exit')
|
||||
elif (data == 'restart'):
|
||||
self.dbus_powermanagement.Restart()
|
||||
self.dbus_powermanagement.Reboot()
|
||||
#os.system('gdm-control --reboot && openbox --exit')
|
||||
elif (data == 'shutdown'):
|
||||
self.dbus_powermanagement.Shutdown()
|
||||
|
||||
Reference in New Issue
Block a user