aboutsummaryrefslogtreecommitdiff
path: root/src/summaryview.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-05-23 07:00:00 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-05-23 07:00:00 +0000
commit4de3bf7e2d642919f72c87b6613e306fa6f2308b (patch)
tree3827379e0904cc8346abef466483aebbd75fdac0 /src/summaryview.c
parent712d73a94ee8c8fd79141c1019d082a056a6bb29 (diff)
reimplemented MimeView with GtkTreeView.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@275 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/summaryview.c')
-rw-r--r--src/summaryview.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/summaryview.c b/src/summaryview.c
index 91fc8e32..a2618736 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -2082,7 +2082,7 @@ static void summary_display_msg_full(SummaryView *summaryview,
val = messageview_show(msgview, msginfo, all_headers);
if (msgview->type == MVIEW_TEXT ||
(msgview->type == MVIEW_MIME &&
- (GTK_CLIST(msgview->mimeview->ctree)->row_list == NULL ||
+ (msgview->mimeview->opened == NULL ||
gtk_notebook_get_current_page
(GTK_NOTEBOOK(msgview->notebook)) == 0)))
gtk_widget_grab_focus(summaryview->treeview);
@@ -2227,6 +2227,7 @@ gboolean summary_step(SummaryView *summaryview, GtkScrollType type)
if (messageview_is_visible(summaryview->messageview))
summaryview->display_msg = TRUE;
+ gtk_widget_grab_focus(summaryview->treeview);
g_signal_emit_by_name(G_OBJECT(summaryview->treeview), "move-cursor",
GTK_MOVEMENT_DISPLAY_LINES,
type == GTK_SCROLL_STEP_FORWARD ? 1 : -1,