[sabayon] Add missing panel actions to PanelDelegate



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]