2008-08-23 05:41:04 +00:00
|
|
|
diff -up nautilus-2.23.90/libnautilus-private/nautilus-icon-container.c.rtl-fix nautilus-2.23.90/libnautilus-private/nautilus-icon-container.c
|
|
|
|
--- nautilus-2.23.90/libnautilus-private/nautilus-icon-container.c.rtl-fix 2008-08-18 19:04:40.000000000 -0400
|
|
|
|
+++ nautilus-2.23.90/libnautilus-private/nautilus-icon-container.c 2008-08-23 01:38:37.000000000 -0400
|
|
|
|
@@ -8923,6 +8923,25 @@ nautilus_icon_container_accessible_get_t
|
2007-12-22 04:34:18 +00:00
|
|
|
return type;
|
|
|
|
}
|
|
|
|
|
|
|
|
+gboolean
|
|
|
|
+nautilus_icon_container_is_layout_rtl (NautilusIconContainer *container)
|
|
|
|
+{
|
|
|
|
+ g_return_val_if_fail (NAUTILUS_IS_ICON_CONTAINER (container), 0);
|
|
|
|
+
|
|
|
|
+ return container->details->layout_mode == NAUTILUS_ICON_LAYOUT_T_B_R_L ||
|
|
|
|
+ container->details->layout_mode == NAUTILUS_ICON_LAYOUT_R_L_T_B;
|
|
|
|
+}
|
2008-04-24 09:47:57 +00:00
|
|
|
+
|
|
|
|
+gboolean
|
|
|
|
+nautilus_icon_container_is_layout_vertical (NautilusIconContainer *container)
|
|
|
|
+{
|
|
|
|
+ g_return_val_if_fail (NAUTILUS_IS_ICON_CONTAINER (container), FALSE);
|
|
|
|
+
|
|
|
|
+ return (container->details->layout_mode == NAUTILUS_ICON_LAYOUT_T_B_L_R ||
|
|
|
|
+ container->details->layout_mode == NAUTILUS_ICON_LAYOUT_T_B_R_L);
|
|
|
|
+}
|
|
|
|
+
|
2007-12-22 04:34:18 +00:00
|
|
|
+
|
|
|
|
#if ! defined (NAUTILUS_OMIT_SELF_CHECK)
|
|
|
|
|
|
|
|
static char *
|
2008-08-23 05:41:04 +00:00
|
|
|
@@ -8957,24 +8976,6 @@ nautilus_self_check_icon_container (void
|
2007-12-22 04:34:18 +00:00
|
|
|
EEL_CHECK_STRING_RESULT (check_compute_stretch (100, 100, 64, 105, 105, 40, 40), "35,35:129");
|
|
|
|
}
|
|
|
|
|
|
|
|
-gboolean
|
|
|
|
-nautilus_icon_container_is_layout_rtl (NautilusIconContainer *container)
|
|
|
|
-{
|
|
|
|
- g_return_val_if_fail (NAUTILUS_IS_ICON_CONTAINER (container), 0);
|
|
|
|
-
|
|
|
|
- return container->details->layout_mode == NAUTILUS_ICON_LAYOUT_T_B_R_L ||
|
|
|
|
- container->details->layout_mode == NAUTILUS_ICON_LAYOUT_R_L_T_B;
|
|
|
|
-}
|
2008-04-24 09:47:57 +00:00
|
|
|
-
|
|
|
|
-gboolean
|
|
|
|
-nautilus_icon_container_is_layout_vertical (NautilusIconContainer *container)
|
|
|
|
-{
|
|
|
|
- g_return_val_if_fail (NAUTILUS_IS_ICON_CONTAINER (container), FALSE);
|
|
|
|
-
|
|
|
|
- return (container->details->layout_mode == NAUTILUS_ICON_LAYOUT_T_B_L_R ||
|
|
|
|
- container->details->layout_mode == NAUTILUS_ICON_LAYOUT_T_B_R_L);
|
|
|
|
-}
|
|
|
|
-
|
2008-08-23 05:41:04 +00:00
|
|
|
int
|
|
|
|
nautilus_icon_container_get_layout_height (NautilusIconContainer *container)
|
|
|
|
{
|