diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-11-01 04:07:17 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-11-01 04:07:17 +0000 |
commit | 5136f54d0566e8a4695dcc100043c9bfec2443a5 (patch) | |
tree | 47ccd45698a041a86e4e63855e664de48435d3c3 /src/main.c | |
parent | 1ca8df113fdf103c457f5b31cce5909e6bc85d00 (diff) |
added the option 'Open inbox on startup'.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1260 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1108,6 +1108,14 @@ static void remote_command_exec(void) mainwin = main_window_get(); + if (prefs_common.open_inbox_on_startup) { + FolderItem *item; + item = cur_account && cur_account->inbox + ? folder_find_item_from_identifier(cur_account->inbox) + : folder_get_default_inbox(); + folderview_select(mainwin->folderview, item); + } + if (cmd.receive_all) inc_all_account_mail(mainwin, FALSE); else if (prefs_common.chk_on_startup) |