mirror of
https://github.com/nikdoof/oblogout.git
synced 2025-12-22 14:59:24 +00:00
Added suspend and hibernate buttons
This commit is contained in:
@@ -12,7 +12,7 @@ import string
|
||||
class OpenboxLogout():
|
||||
def __init__(self, config=None):
|
||||
|
||||
self.validbuttons = ['cancel', 'logout', 'restart', 'shutdown']
|
||||
self.validbuttons = ['cancel', 'logout', 'restart', 'shutdown', 'suspend', 'hibernate']
|
||||
|
||||
self.load_config(config)
|
||||
|
||||
|
||||
Binary file not shown.
@@ -10,5 +10,11 @@ msgstr "Shutdown"
|
||||
msgid "cancel"
|
||||
msgstr "Cancel"
|
||||
|
||||
msgid "reboot"
|
||||
msgstr "Reboot"
|
||||
msgid "restart"
|
||||
msgstr "Restart"
|
||||
|
||||
msgid "suspend"
|
||||
msgstr "Suspend"
|
||||
|
||||
msgid "hibernate"
|
||||
msgstr "Hibernate"
|
||||
|
||||
Binary file not shown.
@@ -10,5 +10,11 @@ msgstr "Shutdown"
|
||||
msgid "cancel"
|
||||
msgstr "Cancel"
|
||||
|
||||
msgid "reboot"
|
||||
msgstr "Reboot"
|
||||
msgid "restart"
|
||||
msgstr "Restart"
|
||||
|
||||
msgid "suspend"
|
||||
msgstr "Suspend"
|
||||
|
||||
msgid "hibernate"
|
||||
msgstr "Hibernate"
|
||||
|
||||
Reference in New Issue
Block a user