forked from AuroraMiddleware/gtk
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
This commit is contained in:
parent
449db79467
commit
18b264b5e0
@ -1,3 +1,9 @@
|
||||
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).
|
||||
|
||||
2007-10-09 Kristian Rietveld <kris@imendio.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): we should
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user