aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-09-30 01:48:59 +0800
committerMilan Crha <mcrha@redhat.com>2009-09-30 01:48:59 +0800
commit274fd1329d6b1badd59f14435b34d41e0c231110 (patch)
tree791390aa3322f5e23af253f9bf2d6aaf4f24d25e
parent0089449444abbbf5379cbacaeb85e4b0cd804249 (diff)
downloadgsoc2013-evolution-274fd1329d6b1badd59f14435b34d41e0c231110.tar
gsoc2013-evolution-274fd1329d6b1badd59f14435b34d41e0c231110.tar.gz
gsoc2013-evolution-274fd1329d6b1badd59f14435b34d41e0c231110.tar.bz2
gsoc2013-evolution-274fd1329d6b1badd59f14435b34d41e0c231110.tar.lz
gsoc2013-evolution-274fd1329d6b1badd59f14435b34d41e0c231110.tar.xz
gsoc2013-evolution-274fd1329d6b1badd59f14435b34d41e0c231110.tar.zst
gsoc2013-evolution-274fd1329d6b1badd59f14435b34d41e0c231110.zip
Bug #594005 - Mailer preview pane doesn't update on show
-rw-r--r--mail/message-list.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index 86b7cef2e6..24f46887aa 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -666,8 +666,13 @@ message_list_select_uid (MessageList *message_list, const gchar *uid)
node = g_hash_table_lookup (message_list->uid_nodemap, uid);
if (node) {
+ ETreePath old_cur = e_tree_get_cursor (message_list->tree);
+
/* This will emit a changed signal that we'll pick up */
e_tree_set_cursor (message_list->tree, node);
+
+ if (old_cur == node)
+ g_signal_emit (message_list, message_list_signals[MESSAGE_SELECTED], 0, message_list->cursor_uid);
} else {
g_free (message_list->cursor_uid);
message_list->cursor_uid = NULL;