Add a patch for sidebar bookmark names
This commit is contained in:
parent
e26455b67e
commit
547b42dcb6
27
nautilus-2.91.9-bookmark.patch
Normal file
27
nautilus-2.91.9-bookmark.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
commit c926b072165b822af8dfd6f5d8a413809bb6b541
|
||||||
|
Author: Cosimo Cecchi <cosimoc@gnome.org>
|
||||||
|
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",
|
@ -13,7 +13,7 @@
|
|||||||
Name: nautilus
|
Name: nautilus
|
||||||
Summary: File manager for GNOME
|
Summary: File manager for GNOME
|
||||||
Version: 2.91.9
|
Version: 2.91.9
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: User Interface/Desktops
|
Group: User Interface/Desktops
|
||||||
Source: http://download.gnome.org/sources/%{name}/2.91/%{name}-%{version}.tar.bz2
|
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
|
Provides: eel2 = 2.26.0-3
|
||||||
|
|
||||||
# Some changes to default config
|
# Some changes to default config
|
||||||
|
Patch1: nautilus-2.91.9-bookmark.patch
|
||||||
Patch4: nautilus-2.91.8-selinux.patch
|
Patch4: nautilus-2.91.8-selinux.patch
|
||||||
|
|
||||||
Patch7: rtl-fix.patch
|
Patch7: rtl-fix.patch
|
||||||
@ -100,6 +101,7 @@ for developing nautilus extensions.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
|
%patch1 -p1 -b .bookmark
|
||||||
%patch4 -p1 -b .selinux
|
%patch4 -p1 -b .selinux
|
||||||
%patch7 -p1 -b .rtl-fix
|
%patch7 -p1 -b .rtl-fix
|
||||||
# %patch8 -p1 -b .hide-white-screen
|
# %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/*
|
%doc %{_datadir}/gtk-doc/html/libnautilus-extension/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 7 2011 Cosimo Cecchi <cosimoc@redhat.com> - 2.91.9-2
|
||||||
|
- Add a patch from upstream for missing bookmark names
|
||||||
|
|
||||||
* Fri Feb 4 2011 Cosimo Cecchi <cosimoc@redhat.com> - 2.91.9-1
|
* Fri Feb 4 2011 Cosimo Cecchi <cosimoc@redhat.com> - 2.91.9-1
|
||||||
- Update to 2.91.9
|
- Update to 2.91.9
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user