aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-09-29 07:31:28 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-09-29 07:31:28 +0800
commitaf155cd7a614aa79398ee24b48441e580d4afbad (patch)
tree879d0f6a48f9f76a4047f69aebf4931dcfcdd458 /modules/mail
parent3187a3dede32b540fc6b3dc410c2cf84d3cd267f (diff)
downloadgsoc2013-evolution-af155cd7a614aa79398ee24b48441e580d4afbad.tar
gsoc2013-evolution-af155cd7a614aa79398ee24b48441e580d4afbad.tar.gz
gsoc2013-evolution-af155cd7a614aa79398ee24b48441e580d4afbad.tar.bz2
gsoc2013-evolution-af155cd7a614aa79398ee24b48441e580d4afbad.tar.lz
gsoc2013-evolution-af155cd7a614aa79398ee24b48441e580d4afbad.tar.xz
gsoc2013-evolution-af155cd7a614aa79398ee24b48441e580d4afbad.tar.zst
gsoc2013-evolution-af155cd7a614aa79398ee24b48441e580d4afbad.zip
Bug 593700 - Opens folder on top
Diffstat (limited to 'modules/mail')
-rw-r--r--modules/mail/e-mail-shell-content.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/mail/e-mail-shell-content.c b/modules/mail/e-mail-shell-content.c
index c1e4c13eac..465022a48f 100644
--- a/modules/mail/e-mail-shell-content.c
+++ b/modules/mail/e-mail-shell-content.c
@@ -250,6 +250,15 @@ mail_shell_content_message_list_built_cb (EMailShellContent *mail_shell_content,
mail_shell_content_scroll_timeout_cb,
mail_shell_content, NULL);
+ /* FIXME This prevents the message list from saving the scrollbar
+ * position before we've had a chance to restore the position.
+ * It gets restored in the timeout handler we just added. */
+ if (priv->message_list_scrolled_id > 0) {
+ g_signal_handler_disconnect (
+ message_list, priv->message_list_scrolled_id);
+ priv->message_list_scrolled_id = 0;
+ }
+
/* FIXME This is another ugly hack to hide a side-effect of the
* previous workaround. */
scrolled_window = GTK_SCROLLED_WINDOW (message_list);