[gnome-disk-utility] toolbar label improvements



commit 9485ce73d98c41684ae55c7c08f17cf8277fa7a1
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Mar 30 11:00:19 2009 -0400

    toolbar label improvements
    
    Here is what the HIG says about toolbar labels:
    
    - Keep this description as short as possible, preferably a single verb
    
    - No trailing ellipsis
    
    Here is a patch to improve the palimpsest toolbar in that respect.
    
    http://bugzilla.gnome.org/show_bug.cgi?id=576347
    
    Signed-off-by: David Zeuthen <davidz redhat com>
---
 src/palimpsest/gdu-shell.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/palimpsest/gdu-shell.c b/src/palimpsest/gdu-shell.c
index 9e5e0a6..7f416e9 100644
--- a/src/palimpsest/gdu-shell.c
+++ b/src/palimpsest/gdu-shell.c
@@ -1725,6 +1725,9 @@ create_ui_manager (GduShell *shell)
                                                                     _("Check the file system"));
         g_object_set (shell->priv->fsck_action,
                       "auth-label", _("_Check File System..."),
+                      "auth-short-label", _("_Check"),
+                      "yes-short-label", _("_Check"),
+                      "no-short-label", _("_Check"),
                       "yes-icon-name", "gdu-check-disk",
                       "no-icon-name", "gdu-check-disk",
                       "auth-icon-name", "gdu-check-disk",
@@ -1852,7 +1855,9 @@ create_ui_manager (GduShell *shell)
                                                                      _("_Erase..."),
                                                                      _("Erase the contents of the selected device"));
         g_object_set (shell->priv->erase_action,
-                      "auth-label", _("_Erase..."),
+                      "auth-short-label", _("_Erase"),
+                      "no-short-label", _("_Erase"),
+                      "yes-short-label", _("_Erase"),
                       "yes-icon-name", GTK_STOCK_CLEAR,
                       "no-icon-name", GTK_STOCK_CLEAR,
                       "auth-icon-name", GTK_STOCK_CLEAR,



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