fix the build
This commit is contained in:
parent
6901cdcb78
commit
fcb3ed9d26
@ -79,6 +79,8 @@ Patch3: background-no-delay.patch
|
|||||||
# Why is this not upstream ?
|
# Why is this not upstream ?
|
||||||
Patch6: nautilus-2.21.1-dynamic-search.patch
|
Patch6: nautilus-2.21.1-dynamic-search.patch
|
||||||
|
|
||||||
|
Patch7: rtl-fix.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Nautilus integrates access to files, applications, media,
|
Nautilus integrates access to files, applications, media,
|
||||||
Internet-based resources and the Web. Nautilus delivers a dynamic and
|
Internet-based resources and the Web. Nautilus delivers a dynamic and
|
||||||
@ -112,6 +114,7 @@ for writing nautilus extensions.
|
|||||||
%patch3 -p1 -b .no-delay
|
%patch3 -p1 -b .no-delay
|
||||||
#%patch5 -p1 -b .selinux
|
#%patch5 -p1 -b .selinux
|
||||||
%patch6 -p1 -b .dynamic-search
|
%patch6 -p1 -b .dynamic-search
|
||||||
|
%patch7 -p1 -b .rtl-fix
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
33
rtl-fix.patch
Normal file
33
rtl-fix.patch
Normal file
@ -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 */
|
Loading…
Reference in New Issue
Block a user