diff options
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r-- | src/mainwindow.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c index 6540e321..3b8b3c28 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -64,6 +64,7 @@ #include "stock_pixmap.h" #include "folder.h" #include "inc.h" +#include "rpop3.h" #include "compose.h" #include "procmsg.h" #include "send_message.h" @@ -321,6 +322,10 @@ static void inc_stop_cb (MainWindow *mainwin, guint action, GtkWidget *widget); +static void rpop3_cb (MainWindow *mainwin, + guint action, + GtkWidget *widget); + static void send_queue_cb (MainWindow *mainwin, guint action, GtkWidget *widget); @@ -766,6 +771,8 @@ static GtkItemFactoryEntry mainwin_entries[] = "<shift><control>I", inc_all_account_mail_cb, 0, NULL}, {N_("/_Message/Recei_ve/Stop receivin_g"), NULL, inc_stop_cb, 0, NULL}, + {N_("/_Message/Recei_ve/_Remote mailbox..."), + NULL, rpop3_cb, 0, NULL}, {N_("/_Message/Recei_ve/---"), NULL, NULL, 0, "<Separator>"}, {N_("/_Message/_Send queued messages"), NULL, send_queue_cb, 0, NULL}, {N_("/_Message/---"), NULL, NULL, 0, "<Separator>"}, @@ -3460,6 +3467,11 @@ static void inc_stop_cb(MainWindow *mainwin, guint action, GtkWidget *widget) inc_cancel_all(); } +static void rpop3_cb(MainWindow *mainwin, guint action, GtkWidget *widget) +{ + rpop3_account(cur_account); +} + static void send_queue_cb(MainWindow *mainwin, guint action, GtkWidget *widget) { main_window_send_queue(mainwin); |