From 1499320dd10a1cbfb52240d611725b056c094611 Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 18 May 2012 05:49:42 +0000 Subject: open compose window before receiving on startup. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3075 ee746299-78ed-0310-b773-934348b2243d --- src/main.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 7db5de67..f272b07f 100644 --- a/src/main.c +++ b/src/main.c @@ -1,6 +1,6 @@ /* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 1999-2011 Hiroyuki Yamamoto + * Copyright (C) 1999-2012 Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1661,6 +1661,12 @@ static void remote_command_exec(void) } if (!gtkut_window_modal_exist()) { + if (cmd.compose) + open_compose_new(cmd.compose_mailto, cmd.attach_files); + + if (cmd.open_msg) + open_message(cmd.open_msg); + if (cmd.receive_all) inc_all_account_mail(mainwin, FALSE); else if (prefs_common.chk_on_startup) @@ -1668,14 +1674,8 @@ static void remote_command_exec(void) else if (cmd.receive) inc_mail(mainwin); - if (cmd.compose) - open_compose_new(cmd.compose_mailto, cmd.attach_files); - if (cmd.send) send_queue(); - - if (cmd.open_msg) - open_message(cmd.open_msg); } if (cmd.attach_files) { -- cgit v1.2.3