diff --git a/src/Layouts/ProjectRow.vala b/src/Layouts/ProjectRow.vala index aa55e17ab..9a84a3e63 100644 --- a/src/Layouts/ProjectRow.vala +++ b/src/Layouts/ProjectRow.vala @@ -658,7 +658,7 @@ public class Layouts.ProjectRow : Gtk.ListBoxRow { menu_box.margin_top = menu_box.margin_bottom = 3; menu_box.append (favorite_item); - if (!project.is_deck) { + if (!project.is_deck && !project.inbox_project) { menu_box.append (edit_item); } @@ -671,7 +671,7 @@ public class Layouts.ProjectRow : Gtk.ListBoxRow { menu_box.append (share_markdown_item); menu_box.append (share_email_item); - if (!project.is_deck) { + if (!project.is_deck && !project.inbox_project) { menu_box.append (new Widgets.ContextMenu.MenuSeparator ()); menu_box.append (archive_item); menu_box.append (delete_item); diff --git a/src/Views/Project/Project.vala b/src/Views/Project/Project.vala index fce99de28..8b5ef3579 100644 --- a/src/Views/Project/Project.vala +++ b/src/Views/Project/Project.vala @@ -251,8 +251,12 @@ public class Views.Project : Adw.Bin { var menu_box = new Gtk.Box (Gtk.Orientation.VERTICAL, 0); menu_box.margin_top = menu_box.margin_bottom = 3; + + if (!project.is_deck && !project.inbox_project) { + menu_box.append (edit_item); + } + if (!project.is_inbox_project) { - menu_box.append (edit_item); menu_box.append (schedule_item); menu_box.append (duplicate_item); menu_box.append (new Widgets.ContextMenu.MenuSeparator ()); @@ -268,7 +272,7 @@ public class Views.Project : Adw.Bin { menu_box.append (paste_item); menu_box.append (show_completed_item); - if (!project.inbox_project) { + if (!project.is_deck && !project.inbox_project) { menu_box.append (new Widgets.ContextMenu.MenuSeparator ()); menu_box.append (archive_item); menu_box.append (delete_item);