[anjal] Set folder tree state on tab switch
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjal] Set folder tree state on tab switch
- Date: Wed, 18 Mar 2009 07:40:15 -0400 (EDT)
commit 733a7f91b37ccff12b8a887d166b41f4015d7155
Author: Srinivasa Ragavan <sragavan novell com>
Date: Wed Mar 18 17:13:03 2009 +0530
Set folder tree state on tab switch
---
src/mail-view.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mail-view.c b/src/mail-view.c
index 3fcfcba..753760b 100644
--- a/src/mail-view.c
+++ b/src/mail-view.c
@@ -100,7 +100,7 @@ mv_switch (GtkNotebook *notebook,GtkNotebookPage *page, guint page_num, gpoi
if (child->type == MAIL_VIEW_COMPOSER)
mail_composer_view_activate (child, shell->folder_tree, shell->check_mail, shell->sort_by, TRUE);
else if (child->type == MAIL_VIEW_FOLDER)
- mail_folder_view_activate (child, shell->folder_tree, shell->check_mail, shell->sort_by, TRUE);
+ mail_folder_view_activate (child, shell->tree, shell->folder_tree, shell->check_mail, shell->sort_by, TRUE);
}
}
@@ -216,7 +216,7 @@ mail_view_add_folder (MailView *mv)
gtk_notebook_set_current_page (mv, position);
gtk_notebook_set_tab_label_packing (mv, mfv, FALSE, FALSE, 0);
g_signal_connect (mfv, "message-shown", G_CALLBACK(mv_message_shown), mv);
- mail_folder_view_activate (mfv, mv->folder_tree, mv->check_mail, mv->sort_by, TRUE);
+ mail_folder_view_activate (mfv, mv->tree, mv->folder_tree, mv->check_mail, mv->sort_by, TRUE);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]