From bf0db4ac9142e93e2df42c82d558470df6c3005f Mon Sep 17 00:00:00 2001 From: hiro Date: Sat, 14 May 2005 18:16:12 +0000 Subject: fixed column resize bug. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@257 ee746299-78ed-0310-b773-934348b2243d --- ChangeLog | 5 +++++ ChangeLog.ja | 11 +++++++++++ configure.in | 2 +- src/summaryview.c | 7 +++++++ 4 files changed, 24 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ddaaa4c3..bb093925 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-05-15 + + * src/summaryview.c: summary_button_pressed(): fixed a bug that + prohibited column resize. + 2005-05-15 * src/summaryview.c: summary_key_pressed(): fixed a bug that Return, diff --git a/ChangeLog.ja b/ChangeLog.ja index acce9269..4c2bf4c2 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,3 +1,14 @@ +2005-05-15 + + * src/summaryview.c: summary_button_pressed(): カラムのリサイズが + できなかったのを修正。 + +2005-05-15 + + * src/summaryview.c: summary_key_pressed(): 複数のメッセージが選択 + されているときに Return, Space, Delete キーが無視されるバグを修正。 + * src/headerview.c: gtk/gtkimage.h の include が抜けていたのを修正。 + 2005-05-13 * version 1.9.10 diff --git a/configure.in b/configure.in index 03689af9..58148a8e 100644 --- a/configure.in +++ b/configure.in @@ -9,7 +9,7 @@ MINOR_VERSION=9 MICRO_VERSION=10 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION= +EXTRA_VERSION=+svn VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION dnl set $target diff --git a/src/summaryview.c b/src/summaryview.c index aee43efe..8a8a0eca 100644 --- a/src/summaryview.c +++ b/src/summaryview.c @@ -3881,6 +3881,7 @@ static gboolean summary_button_pressed(GtkWidget *treeview, GtkTreeViewColumn *column = NULL; gboolean is_selected; gboolean mod_pressed; + gint px, py; if (!event) return FALSE; @@ -3888,6 +3889,12 @@ static gboolean summary_button_pressed(GtkWidget *treeview, event->x, event->y, &path, &column, NULL, NULL)) return FALSE; + + /* pass through if the border of column titles is clicked */ + gtk_widget_get_pointer(treeview, &px, &py); + if (py == (gint)event->y) + return FALSE; + if (!gtk_tree_model_get_iter(GTK_TREE_MODEL(summaryview->store), &iter, path)) return FALSE; -- cgit v1.2.3