Restore the size info for the current row after measuring another row.

2004-10-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcellview.c (gtk_cell_view_get_size_of_row): Restore
	the size info for the current row after measuring another
	row.  (#154945, William Jon McCann)
This commit is contained in:
Matthias Clasen 2004-10-15 04:59:03 +00:00 committed by Matthias Clasen
parent 091d8e28ea
commit d0cc5dee2b
5 changed files with 27 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2004-10-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellview.c (gtk_cell_view_get_size_of_row): Restore
the size info for the current row after measuring another
row. (#154945, William Jon McCann)
2004-10-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): Don't

View File

@ -1,3 +1,9 @@
2004-10-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellview.c (gtk_cell_view_get_size_of_row): Restore
the size info for the current row after measuring another
row. (#154945, William Jon McCann)
2004-10-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): Don't

View File

@ -1,3 +1,9 @@
2004-10-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellview.c (gtk_cell_view_get_size_of_row): Restore
the size info for the current row after measuring another
row. (#154945, William Jon McCann)
2004-10-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): Don't

View File

@ -1,3 +1,9 @@
2004-10-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellview.c (gtk_cell_view_get_size_of_row): Restore
the size info for the current row after measuring another
row. (#154945, William Jon McCann)
2004-10-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): Don't

View File

@ -1055,6 +1055,9 @@ gtk_cell_view_get_size_of_row (GtkCellView *cell_view,
gtk_tree_row_reference_free (cell_view->priv->displayed_row);
cell_view->priv->displayed_row = tmp;
/* restore actual size info */
gtk_cell_view_size_request (GTK_WIDGET (cell_view), &req);
return TRUE;
}