projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a5c28b
)
Use always the default account when creating a new message
author
Alberto Garcia
<agarcia@igalia.com>
Tue, 18 Dec 2007 12:14:07 +0000
(12:14 +0000)
committer
Alberto Garcia
<agarcia@igalia.com>
Tue, 18 Dec 2007 12:14:07 +0000
(12:14 +0000)
Fixes NB#65189
pmo-trunk-r3934
src/modest-ui-actions.c
patch
|
blob
|
history
diff --git
a/src/modest-ui-actions.c
b/src/modest-ui-actions.c
index
8d9161f
..
e38aa0c
100644
(file)
--- a/
src/modest-ui-actions.c
+++ b/
src/modest-ui-actions.c
@@
-743,8
+743,7
@@
modest_ui_actions_compose_msg(ModestWindow *win,
ModestAccountMgr *mgr = modest_runtime_get_account_mgr();
ModestTnyAccountStore *store = modest_runtime_get_account_store();
- if (win) account_name = g_strdup (modest_window_get_active_account (win));
- if (!account_name) account_name = modest_account_mgr_get_default_account(mgr);
+ account_name = modest_account_mgr_get_default_account(mgr);
if (!account_name) {
g_printerr ("modest: no account found\n");
goto cleanup;