projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
791e4a7
)
Show connection requested dialog when the message is not found
author
Sergio Villar Senin
<svillar@igalia.com>
Mon, 29 Jan 2007 14:04:58 +0000
(14:04 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Mon, 29 Jan 2007 14:04:58 +0000
(14:04 +0000)
pmo-trunk-r754
src/modest-ui.c
patch
|
blob
|
history
diff --git
a/src/modest-ui.c
b/src/modest-ui.c
index
37daca0
..
084b781
100644
(file)
--- a/
src/modest-ui.c
+++ b/
src/modest-ui.c
@@
-711,7
+711,7
@@
get_msg_cb (TnyFolder *folder, TnyMsg *msg, GError **err, gpointer user_data)
helper = (GetMsgAsyncHelper *) user_data;
- if (*err && ((*err)->code == TNY_FOLDER_ERROR_GET_MSG)) {
+ if ((*err && ((*err)->code == TNY_FOLDER_ERROR_GET_MSG)) || !msg) {
ModestHeaderView *header_view;
header_view = modest_widget_factory_get_header_view
(modest_runtime_get_widget_factory());
@@
-721,9
+721,6
@@
get_msg_cb (TnyFolder *folder, TnyMsg *msg, GError **err, gpointer user_data)
return;
}
- if (!msg)
- return;
-
/* Call user function */
helper->func (msg, user_data);