Commit 95d8688b authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

Adjust the wrap-width also if an explicit item width is set. (#322475,

2005-12-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (adjust_wrap_width): Adjust the
	wrap-width also if an explicit item width is set.
	(#322475, Alex Graveley)
parent 5578b919
2005-12-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (adjust_wrap_width): Adjust the
wrap-width also if an explicit item width is set.
(#322475, Alex Graveley)
2005-12-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_button_press): Reset
......
2005-12-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (adjust_wrap_width): Adjust the
wrap-width also if an explicit item width is set.
(#322475, Alex Graveley)
2005-12-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_button_press): Reset
......
......@@ -2580,8 +2580,7 @@ adjust_wrap_width (GtkIconView *icon_view,
GtkIconViewCellInfo *pixbuf_info;
gint pixbuf_width, wrap_width;
if (icon_view->priv->item_width < 0 &&
icon_view->priv->text_cell != -1 &&
if (icon_view->priv->text_cell != -1 &&
icon_view->priv->pixbuf_cell != -1)
{
text_info = g_list_nth_data (icon_view->priv->cell_list,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment