diff --git a/nautilus.spec b/nautilus.spec index d9992ac..83925b1 100644 --- a/nautilus.spec +++ b/nautilus.spec @@ -15,7 +15,7 @@ Name: nautilus Summary: File manager for GNOME Version: 2.27.91 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Group: User Interface/Desktops Source: http://download.gnome.org/sources/%{name}/2.27/%{name}-%{version}.tar.bz2 @@ -87,6 +87,7 @@ Patch17: nautilus-filetype-symlink-fix.patch # from upstream Patch20: nautilus-dupe-id.patch +Patch21: uninhibit-me-harder.patch %description Nautilus is the file manager and graphical shell for the GNOME desktop @@ -125,6 +126,7 @@ for developing nautilus extensions. %patch10 -p1 -b .gvfs-desktop-key %patch17 -p0 -b .symlink %patch20 -p1 -b .dupe-id +%patch21 -p1 -b .uninhibit-me-harder %build @@ -265,6 +267,9 @@ fi %changelog +* Sun Sep 6 2009 Matthias Clasen - 2.27.91-3 +- Fix uninhibiting when long-running operations are over + * Wed Aug 26 2009 Matthias Clasen - 2.27.91-2 - Make nautilus-file-management-properties not crash on start diff --git a/uninhibit-me-harder.patch b/uninhibit-me-harder.patch new file mode 100644 index 0000000..1aa034e --- /dev/null +++ b/uninhibit-me-harder.patch @@ -0,0 +1,12 @@ +diff -up nautilus-2.27.91/libnautilus-private/nautilus-file-utilities.c.release-your-inhibitions nautilus-2.27.91/libnautilus-private/nautilus-file-utilities.c +--- nautilus-2.27.91/libnautilus-private/nautilus-file-utilities.c.release-your-inhibitions 2009-09-06 21:25:01.462765511 -0400 ++++ nautilus-2.27.91/libnautilus-private/nautilus-file-utilities.c 2009-09-06 21:25:34.998778724 -0400 +@@ -1100,7 +1100,7 @@ nautilus_uninhibit_power_manager (gint c + { + DBusGProxy *proxy; + GError *error; +- g_return_if_fail (cookie < 0); ++ g_return_if_fail (cookie > 0); + + proxy = get_power_manager_proxy (); +