projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c085fba
)
Fixed a crash when moving messages
author
Sergio Villar Senín
<svillar@igalia.com>
Mon, 8 Feb 2010 18:30:23 +0000
(19:30 +0100)
committer
Sergio Villar Senín
<svillar@igalia.com>
Fri, 12 Feb 2010 12:33:26 +0000
(13:33 +0100)
src/modest-ui-actions.c
patch
|
blob
|
history
diff --git
a/src/modest-ui-actions.c
b/src/modest-ui-actions.c
index
6140977
..
62fce99
100644
(file)
--- a/
src/modest-ui-actions.c
+++ b/
src/modest-ui-actions.c
@@
-4737,11
+4737,13
@@
create_move_to_dialog (GtkWindow *win,
ModestAccountMgr *mgr = NULL;
ModestAccountSettings *settings = NULL;
ModestServerAccountSettings *store_settings = NULL;
ModestAccountMgr *mgr = NULL;
ModestAccountSettings *settings = NULL;
ModestServerAccountSettings *store_settings = NULL;
+ ModestWindow *modest_window;
modest_folder_view_set_style (MODEST_FOLDER_VIEW (tree_view),
MODEST_FOLDER_VIEW_STYLE_SHOW_ALL);
modest_folder_view_set_style (MODEST_FOLDER_VIEW (tree_view),
MODEST_FOLDER_VIEW_STYLE_SHOW_ALL);
- active_account_name = modest_window_get_active_account (MODEST_WINDOW (win));
+ modest_window = modest_shell_peek_window (MODEST_SHELL (win));
+ active_account_name = modest_window_get_active_account (modest_window);
mgr = modest_runtime_get_account_mgr ();
settings = modest_account_mgr_load_account_settings (mgr, active_account_name);
mgr = modest_runtime_get_account_mgr ();
settings = modest_account_mgr_load_account_settings (mgr, active_account_name);