diff options
author | Eduardo Chappa <chappa@washington.edu> | 2013-10-06 23:58:51 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2013-10-06 23:58:51 -0600 |
commit | 30a979ab1460a57d466a6a5cc6adb96eac452ce4 (patch) | |
tree | 1aec0ebb21be40922bc5a708c7780fb0db602202 /alpine/folder.c | |
parent | c5bb25b1320af6cda4cc62ea9e15fbb03ee92026 (diff) | |
download | alpine-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.c | 14 |
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; |