projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7e8affe
)
* Fixes NB#85502, show an error when the mail applications reports error sendings...
author
Sergio Villar Senin
<svillar@igalia.com>
Wed, 14 May 2008 17:11:45 +0000
(17:11 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Wed, 14 May 2008 17:11:45 +0000
(17:11 +0000)
pmo-trunk-r4528
src/modest-tny-send-queue.c
patch
|
blob
|
history
diff --git
a/src/modest-tny-send-queue.c
b/src/modest-tny-send-queue.c
index
3b27216
..
d4db8d7
100644
(file)
--- a/
src/modest-tny-send-queue.c
+++ b/
src/modest-tny-send-queue.c
@@
-684,10
+684,13
@@
_on_msg_error_happened (TnySendQueue *self,
/* Keep in queue so that we remember that the opertion has failed */
/* and was not just cancelled */
/* Keep in queue so that we remember that the opertion has failed */
/* and was not just cancelled */
- if (err->code == TNY_SYSTEM_ERROR_CANCEL)
+ if (err->code == TNY_SYSTEM_ERROR_CANCEL) {
info->status = MODEST_TNY_SEND_QUEUE_SUSPENDED;
info->status = MODEST_TNY_SEND_QUEUE_SUSPENDED;
- else
+ } else {
+ if (err->code == TNY_SERVICE_ERROR_CONNECT)
+ modest_platform_run_alert_dialog (_("emev_ib_ui_smtp_server_invalid"), FALSE);
info->status = MODEST_TNY_SEND_QUEUE_FAILED;
info->status = MODEST_TNY_SEND_QUEUE_FAILED;
+ }
priv->current = NULL;
/* Notify status has changed */
priv->current = NULL;
/* Notify status has changed */