aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-05-06 05:01:24 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-05-06 05:01:24 +0800
commit322d11cb69b1b5711b84bc44ced15b49bcb0ff52 (patch)
tree416729a6c2798edcacebc8b6a1187703ca921c89
parent8b4ba053eb05318b6a85c72232602ef5fba49dd8 (diff)
downloadgsoc2013-evolution-322d11cb69b1b5711b84bc44ced15b49bcb0ff52.tar.gz
gsoc2013-evolution-322d11cb69b1b5711b84bc44ced15b49bcb0ff52.tar.zst
gsoc2013-evolution-322d11cb69b1b5711b84bc44ced15b49bcb0ff52.zip
Select the row that was just collapsed. Fixes bug #57665.
2004-05-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_tree_row_collapsed): Select the row that was just collapsed. Fixes bug #57665. svn path=/trunk/; revision=25811
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/em-folder-tree.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 3ebda567f7..02c4b831a0 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2004-05-05 Jeffrey Stedfast <fejj@ximian.com>
+ * em-folder-tree.c (emft_tree_row_collapsed): Select the row that
+ was just collapsed. Fixes bug #57665.
+
* mail-autofilter.c (rule_match_thread): Removed.
(rule_from_message): Removed the AUTO_THREAD bit.
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index 163485749c..de15e93555 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -1814,6 +1814,8 @@ emft_tree_row_expanded (GtkTreeView *treeview, GtkTreeIter *root, GtkTreePath *t
static void
emft_tree_row_collapsed (GtkTreeView *treeview, GtkTreeIter *root, GtkTreePath *tree_path, EMFolderTree *emft)
{
+ gtk_tree_view_set_cursor (treeview, tree_path, NULL, FALSE);
+
emft_update_model_expanded_state (emft->priv, root, FALSE);
emft_queue_save_state (emft);
}