Added suspend and hibernate buttons

This commit is contained in:
Andrew Williams
2009-01-13 21:29:19 +00:00
parent a2d14d98a7
commit 7840f4d236
5 changed files with 17 additions and 5 deletions

View File

@@ -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)

View File

@@ -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"

View File

@@ -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"