aboutsummaryrefslogtreecommitdiff
path: root/src/folderview.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/folderview.c')
-rw-r--r--src/folderview.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/folderview.c b/src/folderview.c
index 801a71b1..db6608b1 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -1659,6 +1659,21 @@ static gboolean folderview_menu_popup(FolderView *folderview,
item->stype != F_VIRTUAL)
download_msg = TRUE;
}
+ } else {
+ search_folder = TRUE;
+ if (item->parent) {
+ if (FOLDER_TYPE(folder) != F_IMAP)
+ mark_all_read = TRUE;
+ if (gtkut_tree_row_reference_equal
+ (folderview->selected, folderview->opened)) {
+ update_summary = TRUE;
+ mark_all_read = TRUE;
+ }
+ if (item->stype == F_TRASH) {
+ if (item->total > 0)
+ empty_trash = TRUE;
+ }
+ }
}
#define SET_SENS(factory, name, sens) \