Commit 1374fba3 authored by Christian Neumair's avatar Christian Neumair Committed by Christian Neumair

Set icon layout to T_B_R_L iff widget's text direction is RTL.

2008-08-30  Christian Neumair  <cneumair@gnome.org>

	* src/file-manager/fm-icon-view.c (fm_icon_view_set_property):
	Set icon layout to T_B_R_L iff widget's text direction is RTL.

svn path=/trunk/; revision=14543
parent f95dbff6
2008-08-30 Christian Neumair <cneumair@gnome.org>
* src/file-manager/fm-icon-view.c (fm_icon_view_set_property):
Set icon layout to T_B_R_L iff widget's text direction is RTL.
2008-08-30 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-icon-canvas-item.c:
......@@ -8,7 +13,6 @@
(compare_icons_vertical), (previous_column_highest),
(previous_column_lowest), (keyboard_right), (keyboard_left),
(keyboard_down), (keyboard_up):
* src/file-manager/fm-icon-view.c (fm_icon_view_set_property):
Support vertical icon container RTL layout. Make RTL keynav useful.
For wrap-around on pressing the down button in RTL mode
compare_icons_horizontal() and compare_icons_vertical() had to be
......
......@@ -2762,6 +2762,8 @@ fm_icon_view_set_property (GObject *object,
icon_view->details->compact = g_value_get_boolean (value);
if (icon_view->details->compact) {
nautilus_icon_container_set_layout_mode (get_icon_container (icon_view),
gtk_widget_get_direction (GTK_WIDGET(icon_view)) == GTK_TEXT_DIR_RTL ?
NAUTILUS_ICON_LAYOUT_T_B_R_L :
NAUTILUS_ICON_LAYOUT_T_B_L_R);
nautilus_icon_container_set_forced_icon_size (get_icon_container (icon_view),
NAUTILUS_ICON_SIZE_SMALLEST);
......
Markdown is supported
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