Scroll to the item. (#306839, Jonathan Blandford)

2005-06-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_set_cursor): Scroll to the
	item.  (#306839, Jonathan Blandford)
This commit is contained in:
Matthias Clasen 2005-06-08 20:47:11 +00:00 committed by Matthias Clasen
parent 92cc6c4cbc
commit 70c0c38ff8
4 changed files with 11 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2005-06-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_set_cursor): Scroll to the
item. (#306839, Jonathan Blandford)
* gtk/gtktreemodel.c (gtk_tree_path_new_from_string): Check for
negative before appending the index, to avoid double error
message. (#306393, Morten Welinder)

View File

@ -1,5 +1,8 @@
2005-06-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_set_cursor): Scroll to the
item. (#306839, Jonathan Blandford)
* gtk/gtktreemodel.c (gtk_tree_path_new_from_string): Check for
negative before appending the index, to avoid double error
message. (#306393, Morten Welinder)

View File

@ -1,5 +1,8 @@
2005-06-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_set_cursor): Scroll to the
item. (#306839, Jonathan Blandford)
* gtk/gtktreemodel.c (gtk_tree_path_new_from_string): Check for
negative before appending the index, to avoid double error
message. (#306393, Morten Welinder)

View File

@ -1733,6 +1733,8 @@ gtk_icon_view_set_cursor (GtkIconView *icon_view,
}
gtk_icon_view_set_cursor_item (icon_view, item, cell_pos);
gtk_icon_view_scroll_to_item (icon_view, item);
if (start_editing)
gtk_icon_view_start_editing (icon_view, item, info, NULL);
}