summaryrefslogtreecommitdiff
path: root/alpine/folder.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2013-10-06 23:58:51 -0600
committerEduardo Chappa <chappa@washington.edu>2013-10-06 23:58:51 -0600
commit30a979ab1460a57d466a6a5cc6adb96eac452ce4 (patch)
tree1aec0ebb21be40922bc5a708c7780fb0db602202 /alpine/folder.c
parentc5bb25b1320af6cda4cc62ea9e15fbb03ee92026 (diff)
downloadalpine-30a979ab1460a57d466a6a5cc6adb96eac452ce4.tar.xz
* new version 2.11.8
* Fix in configure script for recognition of SSL files in Ubuntu 12.04 * Alpine does not attempt to automatically reopen a collection that was not opened due to cancellation by the user. Instead, the user must try to open it explicitly. * few improvements on new /tls1, /tls1_1, etc. options.
Diffstat (limited to 'alpine/folder.c')
-rw-r--r--alpine/folder.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/alpine/folder.c b/alpine/folder.c
index 2d49ace2..191a5142 100644
--- a/alpine/folder.c
+++ b/alpine/folder.c
@@ -1736,7 +1736,7 @@ folder_list_text(struct pine *ps, FPROC_S *fp, gf_io_t pc, HANDLE_S **handlesp,
color_write_for_folder(pc, CLR_NORMAL);
}
- if(shown){
+ if(shown && LUU_YES(c_list->update)){
/* Run thru list formatting as necessary */
if((ftotal = folder_total(FOLDERS(c_list))) != 0){
int use_color;
@@ -2808,6 +2808,18 @@ folder_lister_choice(SCROLL_S *sparms)
FPROC(sparms)->fs->context = cntxt;
+ if(!LUU_YES(cntxt->update)){
+ cntxt->update = LUU_INIT;
+ refresh_folder_list(cntxt, FPROC(sparms)->fs->no_dirs, TRUE,
+ FPROC(sparms)->fs->cache_streamp);
+ if(!LUU_YES(cntxt->update))
+ q_status_message(SM_ORDER | SM_DING, 3, 3, _("Collection not updated"));
+ else
+ rv = 1;
+
+ return rv;
+ }
+
if(cntxt->dir->status & CNTXT_NOFIND){
rv = 1; /* leave scrolltool to rebuild screen */
FPROC(sparms)->fs->context = cntxt;