GNOME Bugzilla – Bug 565203
RTL locales: icons are misplaced when horizontal gtkiconview is contained in a gtkscrolledwindow
Last modified: 2008-12-21 08:21:14 UTC
When calculation icon position allocation width (visibale area) is used instead of full (required for displaying all icons) width. When the scrollbar is needed then this causes the anchor location for displaying icons to be negative and it is not possible to view all icons.
affected applications includes cheese and eog
Created attachment 125063 [details] [review] fix icon position calculation for RTL locales Notice that it is invalid to use priv->width in the calculation as it is going to be updated with the value of maximum_width
Looks right.
Commited on trunk. Should this also be commited on gtk-2-14? 2008-12-21 Yair Hershkovitz <yairhr@gmail.com> Bug 565203: RTL locales: icons are misplaced when horizontal gtkiconview is contained in a gtkscrolledwindow. * gtk/gtkiconview.c (gtk_icon_view_layout_single_row): Fix horizontal icon positions when in RTL locale.
Thanks. And yes, please commit to gtk-2-14 too.
Commited on gtk-2-14.