Apply some arbitrary lower limit for the guessed wrap width. (#332466,
2006-03-05 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (adjust_wrap_width): Apply some arbitrary lower limit for the guessed wrap width. (#332466, Donald Straney)
This commit is contained in:
committed by
Matthias Clasen
parent
3546b837ee
commit
c1439a35ee
@@ -1,3 +1,9 @@
|
||||
2006-03-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkiconview.c (adjust_wrap_width): Apply some
|
||||
arbitrary lower limit for the guessed wrap width. (#332466,
|
||||
Donald Straney)
|
||||
|
||||
2006-03-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Fix handling of image-only buttons. (#332985, Kalle
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
2006-03-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkiconview.c (adjust_wrap_width): Apply some
|
||||
arbitrary lower limit for the guessed wrap width. (#332466,
|
||||
Donald Straney)
|
||||
|
||||
2006-03-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Fix handling of image-only buttons. (#332985, Kalle
|
||||
|
||||
@@ -2605,7 +2605,7 @@ adjust_wrap_width (GtkIconView *icon_view,
|
||||
NULL);
|
||||
|
||||
if (item->width == -1)
|
||||
wrap_width = pixbuf_width;
|
||||
wrap_width = MAX (2 * pixbuf_width, 50);
|
||||
else if (icon_view->priv->orientation == GTK_ORIENTATION_VERTICAL)
|
||||
wrap_width = item->width;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user