diff options
author | Kristian Rietveld <kris@imendio.com> | 2007-10-09 19:40:14 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2007-10-09 19:40:14 +0000 |
commit | 18b264b5e0596504715e57f74b4e76fc417b7965 (patch) | |
tree | 9eb3b5bbb0e67eba6d405fabfce1c86d7bd4ed15 /gtk | |
parent | 449db7946768cb68b2b9e38861180cf501188f5e (diff) | |
download | gdk-pixbuf-18b264b5e0596504715e57f74b4e76fc417b7965.tar.gz |
make sure the new cursor node is visible when we are done. (Fixes #472965,
2007-10-09 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): make
sure the new cursor node is visible when we are done. (Fixes #472965,
Carlos Garnacho).
svn path=/trunk/; revision=18899
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtktreeview.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 37d5b9c34..5b393a385 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -9864,6 +9864,7 @@ gtk_tree_view_move_cursor_page_up_down (GtkTreeView *tree_view, y -= window_y; gtk_tree_view_scroll_to_point (tree_view, -1, y); + gtk_tree_view_clamp_node_visible (tree_view, cursor_tree, cursor_node); _gtk_tree_view_queue_draw_node (tree_view, cursor_tree, cursor_node, NULL); if (!gtk_tree_path_compare (old_cursor_path, cursor_path)) |