diff --git a/nautilus-2.91.9-bookmark.patch b/nautilus-2.91.9-bookmark.patch new file mode 100644 index 0000000..09127e9 --- /dev/null +++ b/nautilus-2.91.9-bookmark.patch @@ -0,0 +1,27 @@ +commit c926b072165b822af8dfd6f5d8a413809bb6b541 +Author: Cosimo Cecchi +Date: Sat Feb 5 14:40:15 2011 -0500 + + bookmark: apply name and custom-name during construction + +diff --git a/libnautilus-private/nautilus-bookmark.c b/libnautilus-private/nautilus-bookmark.c +index 7bc26f5..426f935 100644 +--- a/libnautilus-private/nautilus-bookmark.c ++++ b/libnautilus-private/nautilus-bookmark.c +@@ -387,14 +387,14 @@ nautilus_bookmark_class_init (NautilusBookmarkClass *class) + "Bookmark's name", + "The name of this bookmark", + NULL, +- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); ++ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT); + + properties[PROP_CUSTOM_NAME] = + g_param_spec_boolean ("custom-name", + "Whether the bookmark has a custom name", + "Whether the bookmark has a custom name", + FALSE, +- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); ++ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT); + + properties[PROP_LOCATION] = + g_param_spec_object ("location", diff --git a/nautilus.spec b/nautilus.spec index 7569268..3f696bf 100644 --- a/nautilus.spec +++ b/nautilus.spec @@ -13,7 +13,7 @@ Name: nautilus Summary: File manager for GNOME Version: 2.91.9 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: User Interface/Desktops Source: http://download.gnome.org/sources/%{name}/2.91/%{name}-%{version}.tar.bz2 @@ -60,6 +60,7 @@ Obsoletes: eel2 < 2.26.0-3 Provides: eel2 = 2.26.0-3 # Some changes to default config +Patch1: nautilus-2.91.9-bookmark.patch Patch4: nautilus-2.91.8-selinux.patch Patch7: rtl-fix.patch @@ -100,6 +101,7 @@ for developing nautilus extensions. %prep %setup -q -n %{name}-%{version} +%patch1 -p1 -b .bookmark %patch4 -p1 -b .selinux %patch7 -p1 -b .rtl-fix # %patch8 -p1 -b .hide-white-screen @@ -192,6 +194,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas || : %doc %{_datadir}/gtk-doc/html/libnautilus-extension/* %changelog +* Mon Feb 7 2011 Cosimo Cecchi - 2.91.9-2 +- Add a patch from upstream for missing bookmark names + * Fri Feb 4 2011 Cosimo Cecchi - 2.91.9-1 - Update to 2.91.9