aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree.c
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 /mail/em-folder-tree.c
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
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r--mail/em-folder-tree.c2
1 files changed, 2 insertions, 0 deletions
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);
}