On error fetching messages in msg view window, close it always
authorJose Dapena Paz <jdapena@igalia.com>
Tue, 6 Oct 2009 11:15:20 +0000 (13:15 +0200)
committerJose Dapena Paz <jdapena@igalia.com>
Wed, 7 Oct 2009 11:25:27 +0000 (13:25 +0200)
(fixes NB#140122).

src/hildon2/modest-msg-view-window.c

index c67a435..19dcb68 100644 (file)
@@ -2157,6 +2157,7 @@ view_msg_cb (ModestMailOperation *mail_op,
                if (self) {
                        /* Restore window title */
                        update_window_title (self);
+                       modest_ui_actions_on_close_window (NULL, MODEST_WINDOW (self));
                        g_object_unref (self);
                }
                return;
@@ -2170,6 +2171,7 @@ view_msg_cb (ModestMailOperation *mail_op,
                if (self) {
                        /* Restore window title */
                        update_window_title (self);
+                       modest_ui_actions_on_close_window (NULL, MODEST_WINDOW (self));
                        g_object_unref (self);
                }
                return;