Archive option in message right click menu

This commit is contained in:
Carlos Langoni 2021-01-07 12:02:19 -03:00
parent 96755ab09e
commit c7a0c00de8

View file

@ -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(