projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3b2a29
)
* Added an extra error check
author
Sergio Villar Senin
<svillar@igalia.com>
Mon, 3 Dec 2007 11:35:27 +0000
(11:35 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Mon, 3 Dec 2007 11:35:27 +0000
(11:35 +0000)
pmo-trunk-r3850
src/modest-ui-actions.c
patch
|
blob
|
history
diff --git
a/src/modest-ui-actions.c
b/src/modest-ui-actions.c
index
fab6fc8
..
777ec61
100644
(file)
--- a/
src/modest-ui-actions.c
+++ b/
src/modest-ui-actions.c
@@
-1050,10
+1050,12
@@
open_msgs_performer(gboolean canceled,
gchar *error_msg;
ModestTransportStoreProtocol proto;
TnyList *not_opened_headers;
+ TnyConnectionStatus status;
not_opened_headers = TNY_LIST (user_data);
- if (err) {
+ status = tny_account_get_connection_status (account);
+ if (err || canceled || status != TNY_CONNECTION_STATUS_CONNECTED) {
/* TODO: Show an error ? */
goto clean;
}