aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-folder-view.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index e7c901a940..a13a22405a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,12 @@
2009-01-29 Srinivasa Ragavan <sragavan@novell.com>
+ ** Fix for bug #546637
+
+ * em-folder-view.c: (emfv_popup_source): Ensure uid for source view
+ also.
+
+2009-01-29 Srinivasa Ragavan <sragavan@novell.com>
+
** Fix for bug #562449
* em-folder-view.c: (em_folder_view_mark_selected),
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index 0936a5c8d6..17c78e4f27 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -885,6 +885,7 @@ emfv_popup_source(EPopup *ep, EPopupItem *pitem, void *data)
emmb = (EMMessageBrowser *)em_message_browser_window_new();
em_format_set_session((EMFormat *)((EMFolderView *)emmb)->preview, ((EMFormat *)emfv->preview)->session);
+ message_list_ensure_message (((EMFolderView *)emmb)->list, uids->pdata[0]);
em_folder_view_set_folder((EMFolderView *)emmb, emfv->folder, emfv->folder_uri);
em_format_set_mode((EMFormat *)((EMFolderView *)emmb)->preview, EM_FORMAT_SOURCE);
em_folder_view_set_message((EMFolderView *)emmb, uids->pdata[0], FALSE);