[gnome-shell] [statusMenu] Fix ellipsis in menu entries



commit a5e61e27c73a30629c06a2a6b741de81245c67f7
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Mon Nov 22 21:19:37 2010 +0100

    [statusMenu] Fix ellipsis in menu entries
    
    According to the HIG we should use ellipsis when:
    
    "Label the menu item with a trailing ellipsis ("...") only if the command requires further
    input from the user before it can be performed. Do not add an ellipsis to items that only
    present a confirmation dialog (such as Delete), or that do not require further input
    (such as Properties, Preferences or About)"
    
    So adjust the use of ellipsis to match that.
    
    Pointed out by Michael Monreal.

 js/ui/statusMenu.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/statusMenu.js b/js/ui/statusMenu.js
index 0e91d5d..14d45d0 100644
--- a/js/ui/statusMenu.js
+++ b/js/ui/statusMenu.js
@@ -111,11 +111,11 @@ StatusMenuButton.prototype = {
         item = new PopupMenu.PopupSeparatorMenuItem();
         this.menu.addMenuItem(item);
 
-        item = new PopupMenu.PopupMenuItem(_("My Account..."));
+        item = new PopupMenu.PopupMenuItem(_("My Account"));
         item.connect('activate', Lang.bind(this, this._onMyAccountActivate));
         this.menu.addMenuItem(item);
 
-        item = new PopupMenu.PopupMenuItem(_("System Settings..."));
+        item = new PopupMenu.PopupMenuItem(_("System Settings"));
         item.connect('activate', Lang.bind(this, this._onPreferencesActivate));
         this.menu.addMenuItem(item);
 
@@ -138,7 +138,7 @@ StatusMenuButton.prototype = {
         item = new PopupMenu.PopupSeparatorMenuItem();
         this.menu.addMenuItem(item);
 
-        item = new PopupMenu.PopupMenuItem(_("Suspend"));
+        item = new PopupMenu.PopupMenuItem(_("Suspend..."));
         item.connect('activate', Lang.bind(this, this._onShutDownActivate));
         this.menu.addMenuItem(item);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]