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:20:41 +0000 (13:20 +0200)
(fixes NB#140122).

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

index 41f61fc..386ed07 100644 (file)
@@ -2156,6 +2156,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;
@@ -2169,6 +2170,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;