diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-05-09 09:26:26 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-05-09 09:26:26 +0000 |
commit | 9a51810579d03b582f44919cb82d1fb757e93bea (patch) | |
tree | fcc9c9253e35f5827f334a52f032ca8459479961 /src/mainwindow.c | |
parent | cfba26004dba1af652c6e82e489d75ef049a803d (diff) |
reimplemented summary view with GtkTreeView.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@237 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r-- | src/mainwindow.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c index 8bc4d29e..617875e6 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -22,6 +22,7 @@ #include <glib.h> #include <glib/gi18n.h> #include <gtk/gtkmain.h> +#include <gtk/gtkversion.h> #include <gtk/gtkwindow.h> #include <gtk/gtkwidget.h> #include <gtk/gtksignal.h> @@ -40,6 +41,8 @@ #include <gtk/gtktoolbar.h> #include <gtk/gtkbutton.h> #include <gtk/gtktooltips.h> +#include <gtk/gtkarrow.h> +#include <gtk/gtkstock.h> #include <string.h> #include "main.h" @@ -1378,7 +1381,7 @@ void main_window_toggle_message_view(MainWindow *mainwin) prefs_common.msgview_visible = mainwin->messageview->visible; - gtk_widget_grab_focus(summaryview->ctree); + gtk_widget_grab_focus(summaryview->treeview); } void main_window_get_size(MainWindow *mainwin) @@ -2864,7 +2867,7 @@ static void show_all_header_cb(MainWindow *mainwin, guint action, GtkWidget *widget) { if (mainwin->menu_lock_count) return; - summary_display_msg_selected(mainwin->summaryview, + summary_display_msg_selected(mainwin->summaryview, FALSE, GTK_CHECK_MENU_ITEM(widget)->active); } @@ -3107,7 +3110,7 @@ static void allsel_cb(MainWindow *mainwin, guint action, GtkWidget *widget) { MessageView *msgview = mainwin->messageview; - if (GTK_WIDGET_HAS_FOCUS(mainwin->summaryview->ctree)) + if (GTK_WIDGET_HAS_FOCUS(mainwin->summaryview->treeview)) summary_select_all(mainwin->summaryview); else if (messageview_is_visible(msgview) && (GTK_WIDGET_HAS_FOCUS(msgview->textview->text) || |