Scroll to the selected row. (#143868, Christian Persch)

2004-09-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (select_func): Scroll to the selected
	row.  (#143868, Christian Persch)
This commit is contained in:
Matthias Clasen 2004-09-17 19:05:45 +00:00 committed by Matthias Clasen
parent 350559dea8
commit 627dc11c98
5 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-09-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (select_func): Scroll to the selected
row. (#143868, Christian Persch)
2004-09-17 Matthias Clasen <mclasen@redhat.com> 2004-09-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): Remove * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): Remove

View File

@ -1,3 +1,8 @@
2004-09-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (select_func): Scroll to the selected
row. (#143868, Christian Persch)
2004-09-17 Matthias Clasen <mclasen@redhat.com> 2004-09-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): Remove * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): Remove

View File

@ -1,3 +1,8 @@
2004-09-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (select_func): Scroll to the selected
row. (#143868, Christian Persch)
2004-09-17 Matthias Clasen <mclasen@redhat.com> 2004-09-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): Remove * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): Remove

View File

@ -1,3 +1,8 @@
2004-09-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (select_func): Scroll to the selected
row. (#143868, Christian Persch)
2004-09-17 Matthias Clasen <mclasen@redhat.com> 2004-09-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): Remove * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): Remove

View File

@ -4295,6 +4295,7 @@ select_func (GtkFileSystemModel *model,
sorted_path = gtk_tree_model_sort_convert_child_path_to_path (impl->sort_model, path); sorted_path = gtk_tree_model_sort_convert_child_path_to_path (impl->sort_model, path);
gtk_tree_view_set_cursor (tree_view, sorted_path, NULL, FALSE); gtk_tree_view_set_cursor (tree_view, sorted_path, NULL, FALSE);
gtk_tree_view_scroll_to_cell (tree_view, sorted_path, NULL, FALSE, 0.0, 0.0);
gtk_tree_path_free (sorted_path); gtk_tree_path_free (sorted_path);
} }