aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2008-09-17 01:52:42 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2008-09-17 01:52:42 +0000
commit82849c6daf5e071c7511f8d8553bc42a099c70e5 (patch)
treec92b04f99f7d871fb4b957740bb933763a099ddc /src/mainwindow.c
parent7b7ba149faae102d7b4621f8bb4d17f93d38b01b (diff)
implemented remote POP3 mailbox.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2031 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r--src/mainwindow.c12
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);