diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-05-18 05:49:42 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2012-05-18 05:49:42 +0000 |
commit | 1499320dd10a1cbfb52240d611725b056c094611 (patch) | |
tree | 194876f385ae60cda01d9c08e020f9d3e2455276 | |
parent | f9fc05b1d610407c829b9f33648105298a4a6501 (diff) |
open compose window before receiving on startup.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3075 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/main.c | 14 |
2 files changed, 12 insertions, 7 deletions
@@ -1,3 +1,8 @@ +2012-05-18 + + * src/main.c: open compose window before receiving on startup + (fixes Bug #61). + 2012-05-02 * src/compose.c: compose_attach_append(): fixed Bug #54: Focus problem @@ -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) { |