From 82849c6daf5e071c7511f8d8553bc42a099c70e5 Mon Sep 17 00:00:00 2001 From: hiro Date: Wed, 17 Sep 2008 01:52:42 +0000 Subject: implemented remote POP3 mailbox. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2031 ee746299-78ed-0310-b773-934348b2243d --- src/mainwindow.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/mainwindow.c') 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[] = "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, ""}, {N_("/_Message/_Send queued messages"), NULL, send_queue_cb, 0, NULL}, {N_("/_Message/---"), NULL, NULL, 0, ""}, @@ -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); -- cgit v1.2.3