[geary: 1/2] Archive option in message right click menu




commit c7a0c00de8b02b3b8fff9e87202dae75da0461ae
Author: Carlos Langoni <calangoni outlook com>
Date:   Thu Jan 7 12:02:19 2021 -0300

    Archive option in message right click menu

 src/client/conversation-list/conversation-list-view.vala | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/src/client/conversation-list/conversation-list-view.vala 
b/src/client/conversation-list/conversation-list-view.vala
index a4d5cca6e..c9de49bd5 100644
--- a/src/client/conversation-list/conversation-list-view.vala
+++ b/src/client/conversation-list/conversation-list-view.vala
@@ -390,6 +390,14 @@ public class ConversationListView : Gtk.TreeView, Geary.BaseInterface {
                     )
                 );
             }
+            if ((conversation.base_folder.used_as != ARCHIVE) && (conversation.base_folder.used_as != 
ALL_MAIL)) {
+                context_menu_model.append(
+                    _("Archive conversation"),
+                    Action.Window.prefix(
+                        Application.MainWindow.ACTION_ARCHIVE_CONVERSATION
+                    )
+                );
+            }
 
             Menu actions_section = new Menu();
             actions_section.append(


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