]> granicus.if.org Git - mutt/commitdiff
Do IMAP keep-alive polls from all menus.
authorThomas Roessler <roessler@does-not-exist.org>
Mon, 28 Feb 2000 17:29:04 +0000 (17:29 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Mon, 28 Feb 2000 17:29:04 +0000 (17:29 +0000)
menu.c
pager.c

diff --git a/menu.c b/menu.c
index 759bdcdd3d94c8c7c1a5e667c3c3cb6d21b78dc8..389f94474ab5b3f65c93baf2def23511da42367b 100644 (file)
--- a/menu.c
+++ b/menu.c
@@ -751,6 +751,10 @@ int mutt_menuLoop (MUTTMENU *menu)
   {
     mutt_curs_set (0);
 
+    /* IMAP keepalive */
+    if (mutt_buffy_notify () && option (OPTBEEPNEW))
+      beep ();
+    
     /* See if all or part of the screen needs to be updated.  */
     if (menu->redraw & REDRAW_FULL)
     {
diff --git a/pager.c b/pager.c
index 7115f9e6582ebb6e6a5d14511dbf3a83b4d01f89..048ffbf6c2d357cfc7851e88127543001af9a364 100644 (file)
--- a/pager.c
+++ b/pager.c
@@ -1485,6 +1485,7 @@ mutt_pager (const char *banner, const char *fname, int flags, pager_t *extra)
   {
     mutt_curs_set (0);
 
+    /* IMAP keep-alive */
     if (mutt_buffy_notify () && option (OPTBEEPNEW))
       beep ();