diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-05-14 18:16:12 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-05-14 18:16:12 +0000 |
commit | bf0db4ac9142e93e2df42c82d558470df6c3005f (patch) | |
tree | 66f744dd65e1682208f9ed6067b696b3aa4266b6 /src | |
parent | 7f951edbe12a0b4f24a87e1bbc5e74d9f52b898c (diff) |
fixed column resize bug.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@257 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r-- | src/summaryview.c | 7 |
1 files changed, 7 insertions, 0 deletions
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; |