[geary] Add label for DELETE_MESSAGE, for conversation list context menu



commit 32740bb15189d1a105c683e122175423cb046818
Author: Robert Schroll <rschroll gmail com>
Date:   Wed Mar 18 11:38:22 2015 -0400

    Add label for DELETE_MESSAGE, for conversation list context menu
    
    https://bugzilla.gnome.org/show_bug.cgi?id=746406

 src/client/application/geary-controller.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/client/application/geary-controller.vala b/src/client/application/geary-controller.vala
index 68505a9..39e2330 100644
--- a/src/client/application/geary-controller.vala
+++ b/src/client/application/geary-controller.vala
@@ -59,6 +59,7 @@ public class GearyController : Geary.BaseObject {
     
     public const int MIN_CONVERSATION_COUNT = 50;
     
+    private const string DELETE_MESSAGE_LABEL = _("Delete conversation");
     private const string DELETE_MESSAGE_TOOLTIP_SINGLE = _("Delete conversation (Shift+Delete)");
     private const string DELETE_MESSAGE_TOOLTIP_MULTIPLE = _("Delete conversations (Shift+Delete)");
     private const string DELETE_MESSAGE_ICON_NAME = "edit-delete-symbolic";
@@ -483,6 +484,7 @@ public class GearyController : Geary.BaseObject {
         
         Gtk.ActionEntry delete_message = { ACTION_DELETE_MESSAGE, DELETE_MESSAGE_ICON_NAME,
             null, "<Shift>Delete", null, on_delete_message };
+        delete_message.label = DELETE_MESSAGE_LABEL;
         delete_message.tooltip = DELETE_MESSAGE_TOOLTIP_SINGLE;
         entries += delete_message;
         add_accelerator("<Shift>BackSpace", ACTION_DELETE_MESSAGE);


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