From f5510b6468fd150f7b56f530566ed069fbf52084 Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Thu, 25 Apr 2002 21:35:30 +0000 Subject: [PATCH] make the search dialog not scroll horizontally (prolly fixes #74806). Thu Apr 25 23:36:55 2002 Kristian Rietveld * gtk/gtktreeview.c (gtk_tree_view_search_iter): make the search dialog not scroll horizontally (prolly fixes #74806). --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtktreeview.c | 4 ++-- 7 files changed, 32 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 95d18bfbc0..951e5a4fbe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Apr 25 23:36:55 2002 Kristian Rietveld + + * gtk/gtktreeview.c (gtk_tree_view_search_iter): make the search + dialog not scroll horizontally (prolly fixes #74806). + 2002-04-25 Matthias Clasen * gtk/gtkrange.c (gtk_range_calc_layout): Avoid a possible diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 95d18bfbc0..951e5a4fbe 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Thu Apr 25 23:36:55 2002 Kristian Rietveld + + * gtk/gtktreeview.c (gtk_tree_view_search_iter): make the search + dialog not scroll horizontally (prolly fixes #74806). + 2002-04-25 Matthias Clasen * gtk/gtkrange.c (gtk_range_calc_layout): Avoid a possible diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 95d18bfbc0..951e5a4fbe 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Thu Apr 25 23:36:55 2002 Kristian Rietveld + + * gtk/gtktreeview.c (gtk_tree_view_search_iter): make the search + dialog not scroll horizontally (prolly fixes #74806). + 2002-04-25 Matthias Clasen * gtk/gtkrange.c (gtk_range_calc_layout): Avoid a possible diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 95d18bfbc0..951e5a4fbe 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Thu Apr 25 23:36:55 2002 Kristian Rietveld + + * gtk/gtktreeview.c (gtk_tree_view_search_iter): make the search + dialog not scroll horizontally (prolly fixes #74806). + 2002-04-25 Matthias Clasen * gtk/gtkrange.c (gtk_range_calc_layout): Avoid a possible diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 95d18bfbc0..951e5a4fbe 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Thu Apr 25 23:36:55 2002 Kristian Rietveld + + * gtk/gtktreeview.c (gtk_tree_view_search_iter): make the search + dialog not scroll horizontally (prolly fixes #74806). + 2002-04-25 Matthias Clasen * gtk/gtkrange.c (gtk_range_calc_layout): Avoid a possible diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 95d18bfbc0..951e5a4fbe 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Thu Apr 25 23:36:55 2002 Kristian Rietveld + + * gtk/gtktreeview.c (gtk_tree_view_search_iter): make the search + dialog not scroll horizontally (prolly fixes #74806). + 2002-04-25 Matthias Clasen * gtk/gtkrange.c (gtk_range_calc_layout): Avoid a possible diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index a1de34405b..5a6042327f 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -10426,8 +10426,8 @@ gtk_tree_view_search_iter (GtkTreeModel *model, (*count)++; if (*count == n) { - gtk_tree_view_scroll_to_cell (tree_view, path, column, - TRUE, 0.5, 0.5); + gtk_tree_view_scroll_to_cell (tree_view, path, NULL, + TRUE, 0.5, 0.0); gtk_tree_selection_select_iter (selection, iter); gtk_tree_view_real_set_cursor (tree_view, path, FALSE, TRUE);