diff --git a/nautilus.spec b/nautilus.spec index e0ebd5e..db6f6fd 100644 --- a/nautilus.spec +++ b/nautilus.spec @@ -79,6 +79,8 @@ Patch3: background-no-delay.patch # Why is this not upstream ? Patch6: nautilus-2.21.1-dynamic-search.patch +Patch7: rtl-fix.patch + %description Nautilus integrates access to files, applications, media, Internet-based resources and the Web. Nautilus delivers a dynamic and @@ -112,6 +114,7 @@ for writing nautilus extensions. %patch3 -p1 -b .no-delay #%patch5 -p1 -b .selinux %patch6 -p1 -b .dynamic-search +%patch7 -p1 -b .rtl-fix %build diff --git a/rtl-fix.patch b/rtl-fix.patch new file mode 100644 index 0000000..1dc3bd8 --- /dev/null +++ b/rtl-fix.patch @@ -0,0 +1,33 @@ +diff -up nautilus-2.21.1/libnautilus-private/nautilus-icon-container.c.rtl-fix nautilus-2.21.1/libnautilus-private/nautilus-icon-container.c +--- nautilus-2.21.1/libnautilus-private/nautilus-icon-container.c.rtl-fix 2007-12-21 23:32:10.000000000 -0500 ++++ nautilus-2.21.1/libnautilus-private/nautilus-icon-container.c 2007-12-21 23:32:32.000000000 -0500 +@@ -8106,6 +8106,15 @@ nautilus_icon_container_accessible_get_t + 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; ++} ++ + #if ! defined (NAUTILUS_OMIT_SELF_CHECK) + + static char * +@@ -8140,13 +8149,4 @@ nautilus_self_check_icon_container (void + 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; +-} +- + #endif /* ! NAUTILUS_OMIT_SELF_CHECK */