[sabayon] Add missing panel actions to PanelDelegate
- From: Federico Mena Quintero <federico src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [sabayon] Add missing panel actions to PanelDelegate
- Date: Wed, 5 Aug 2009 01:20:34 +0000 (UTC)
commit 8a3dc2d38c1da65459d430c3708a9460ae4181d5
Author: Sayamindu Dasgupta <sayamindu gmail com>
Date: Tue Aug 4 16:15:10 2009 -0500
Add missing panel actions to PanelDelegate
These are per gnome-panel/gnome-panel/panel-action-button.c.
Signed-off-by: Federico Mena Quintero <federico novell com>
lib/sources/paneldelegate.py | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/lib/sources/paneldelegate.py b/lib/sources/paneldelegate.py
index 5114166..8386823 100755
--- a/lib/sources/paneldelegate.py
+++ b/lib/sources/paneldelegate.py
@@ -251,8 +251,17 @@ class PanelDelegate (userprofile.SourceDelegate):
self.name = _("Run Application button")
elif action_type == "search":
self.name = _("Search button")
- else:
+ elif action_type == "force-quit":
+ self.name = _("Force Quit button")
+ elif action_type == "connect-server":
+ self.name = _("Connect to Server button")
+ elif action_type == "shutdown":
+ self.name = _("Shutdown button")
+ elif action_type == "screenshot":
self.name = _("Screenshot button")
+
+ else:
+ self.name = _("Unknown")
else:
self.name = _("Menu Bar")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]