Put the subject of the message on the editor window
authorAlberto Garcia <agarcia@igalia.com>
Tue, 6 Nov 2007 15:13:26 +0000 (15:13 +0000)
committerAlberto Garcia <agarcia@igalia.com>
Tue, 6 Nov 2007 15:13:26 +0000 (15:13 +0000)
Fixes NB#75081

pmo-trunk-r3653

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

index 4caa84e..8b22a14 100644 (file)
@@ -862,6 +862,8 @@ modest_msg_view_window_new_with_header_model (TnyMsg *msg,
        modest_msg_view_window_construct (window, modest_account_name, msg_uid);
 
        priv = MODEST_MSG_VIEW_WINDOW_GET_PRIVATE (window);
        modest_msg_view_window_construct (window, modest_account_name, msg_uid);
 
        priv = MODEST_MSG_VIEW_WINDOW_GET_PRIVATE (window);
+       tny_msg_view_set_msg (TNY_MSG_VIEW (priv->msg_view), msg);
+       update_window_title (MODEST_MSG_VIEW_WINDOW (window));
 
        /* Remember the message list's TreeModel so we can detect changes 
         * and change the list selection when necessary: */
 
        /* Remember the message list's TreeModel so we can detect changes 
         * and change the list selection when necessary: */