[geary] Add "Archive", "Trash", and "Delete" button labels back
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary] Add "Archive", "Trash", and "Delete" button labels back
- Date: Fri, 30 May 2014 19:13:31 +0000 (UTC)
commit ccae352f7968cd1650c6ca755753e907a09e8a41
Author: Jim Nelson <jim yorba org>
Date: Fri May 30 12:13:18 2014 -0700
Add "Archive", "Trash", and "Delete" button labels back
src/client/application/geary-controller.vala | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/client/application/geary-controller.vala b/src/client/application/geary-controller.vala
index b34e2e4..cd9d5d8 100644
--- a/src/client/application/geary-controller.vala
+++ b/src/client/application/geary-controller.vala
@@ -43,14 +43,17 @@ public class GearyController : Geary.BaseObject {
public const int MIN_CONVERSATION_COUNT = 50;
+ private const string DELETE_MESSAGE_LABEL = _("Delete");
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";
+ private const string TRASH_MESSAGE_LABEL = _("Trash");
private const string TRASH_MESSAGE_TOOLTIP_SINGLE = _("Move conversation to trash (Delete, Backspace)");
private const string TRASH_MESSAGE_TOOLTIP_MULTIPLE = _("Move conversations to trash (Delete,
Backspace)");
private const string TRASH_MESSAGE_ICON_NAME = "user-trash-symbolic";
+ private const string ARCHIVE_MESSAGE_LABEL = _("Archive");
private const string ARCHIVE_MESSAGE_TOOLTIP_SINGLE = _("Archive conversation (A)");
private const string ARCHIVE_MESSAGE_TOOLTIP_MULTIPLE = _("Archive conversations (A)");
private const string ARCHIVE_MESSAGE_ICON_NAME = "archive-symbolic";
@@ -347,20 +350,20 @@ public class GearyController : Geary.BaseObject {
entries += find_previous_in_conversation;
Gtk.ActionEntry archive_message = { ACTION_ARCHIVE_MESSAGE, ARCHIVE_MESSAGE_ICON_NAME,
- null, "A", null, on_archive_message };
+ ARCHIVE_MESSAGE_LABEL, "A", null, on_archive_message };
archive_message.tooltip = ARCHIVE_MESSAGE_TOOLTIP_SINGLE;
entries += archive_message;
// although this action changes according to the account's capabilities, set to Delete
// until they're known so the "translatable" string doesn't first appear
Gtk.ActionEntry trash_message = { ACTION_TRASH_MESSAGE, TRASH_MESSAGE_ICON_NAME,
- null, "Delete", null, on_trash_message };
+ TRASH_MESSAGE_LABEL, "Delete", null, on_trash_message };
trash_message.tooltip = TRASH_MESSAGE_TOOLTIP_SINGLE;
entries += trash_message;
add_accelerator("BackSpace", ACTION_TRASH_MESSAGE);
Gtk.ActionEntry delete_message = { ACTION_DELETE_MESSAGE, DELETE_MESSAGE_ICON_NAME,
- null, "<Shift>Delete", null, on_delete_message };
+ DELETE_MESSAGE_LABEL, "<Shift>Delete", null, on_delete_message };
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]