avoid lingering menu items
This commit is contained in:
parent
cd2b7b4c9f
commit
d6d0ab4125
35
nautilus-2.28.0-lacks-mount-do-not-use-activation-uri.patch
Normal file
35
nautilus-2.28.0-lacks-mount-do-not-use-activation-uri.patch
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
From 88da398b39b2047f3f42e56d3d3a24ba18233e40 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Tomas Bzatek <tbzatek@redhat.com>
|
||||||
|
Date: Tue, 22 Sep 2009 17:26:06 +0200
|
||||||
|
Subject: [PATCH] Don't rely on activation_uri when detecting mounts
|
||||||
|
|
||||||
|
We test for the activation_uri (i.e. G_FILE_ATTRIBUTE_STANDARD_TARGET_URI)
|
||||||
|
which is usually not exposed from computer:// items until the item is mounted
|
||||||
|
(and that's up to particular gvfs volume monitor).
|
||||||
|
|
||||||
|
Simply don't test for activation_uri, file type of G_FILE_TYPE_MOUNTABLE
|
||||||
|
should be enough.
|
||||||
|
---
|
||||||
|
libnautilus-private/nautilus-directory-async.c | 5 ++---
|
||||||
|
1 files changed, 2 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/libnautilus-private/nautilus-directory-async.c b/libnautilus-private/nautilus-directory-async.c
|
||||||
|
index 653fd30..ff20ac5 100644
|
||||||
|
--- a/libnautilus-private/nautilus-directory-async.c
|
||||||
|
+++ b/libnautilus-private/nautilus-directory-async.c
|
||||||
|
@@ -1700,9 +1700,8 @@ lacks_mount (NautilusFile *file)
|
||||||
|
(file->details->type == G_FILE_TYPE_DIRECTORY &&
|
||||||
|
nautilus_file_is_self_owned (file)) ||
|
||||||
|
|
||||||
|
- /* Mountable with a target_uri, could be a mountpoint */
|
||||||
|
- (file->details->type == G_FILE_TYPE_MOUNTABLE &&
|
||||||
|
- file->details->activation_uri != NULL)
|
||||||
|
+ /* Mountable, could be a mountpoint */
|
||||||
|
+ (file->details->type == G_FILE_TYPE_MOUNTABLE)
|
||||||
|
|
||||||
|
)
|
||||||
|
);
|
||||||
|
--
|
||||||
|
1.6.4.4
|
||||||
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
|||||||
Name: nautilus
|
Name: nautilus
|
||||||
Summary: File manager for GNOME
|
Summary: File manager for GNOME
|
||||||
Version: 2.28.0
|
Version: 2.28.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: User Interface/Desktops
|
Group: User Interface/Desktops
|
||||||
Source: http://download.gnome.org/sources/%{name}/2.28/%{name}-%{version}.tar.bz2
|
Source: http://download.gnome.org/sources/%{name}/2.28/%{name}-%{version}.tar.bz2
|
||||||
@ -88,6 +88,9 @@ Patch17: nautilus-filetype-symlink-fix.patch
|
|||||||
# Need to file upstream and investigate a real fix
|
# Need to file upstream and investigate a real fix
|
||||||
Patch18: nautilus-2.28.0-revert-bg-fade-break.patch
|
Patch18: nautilus-2.28.0-revert-bg-fade-break.patch
|
||||||
|
|
||||||
|
# from upstream
|
||||||
|
Patch19: nautilus-2.28.0-lacks-mount-do-not-use-activation-uri.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Nautilus is the file manager and graphical shell for the GNOME desktop
|
Nautilus is the file manager and graphical shell for the GNOME desktop
|
||||||
that makes it easy to manage your files and the rest of your system.
|
that makes it easy to manage your files and the rest of your system.
|
||||||
@ -125,6 +128,7 @@ for developing nautilus extensions.
|
|||||||
%patch10 -p1 -b .gvfs-desktop-key
|
%patch10 -p1 -b .gvfs-desktop-key
|
||||||
%patch17 -p0 -b .symlink
|
%patch17 -p0 -b .symlink
|
||||||
%patch18 -p1 -b .revert-bg-fade-break
|
%patch18 -p1 -b .revert-bg-fade-break
|
||||||
|
%patch19 -p1 -b .mount-do-not-use-activation-uri
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -260,6 +264,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 24 2009 Matthias Clasen <mclasen@redhat.com> - 2.28.0-3
|
||||||
|
- Avoid lingering menuitems (#518570)
|
||||||
|
|
||||||
* Wed Sep 23 2009 Ray Strode <rstrode@redhat.com> 2.28.0-2
|
* Wed Sep 23 2009 Ray Strode <rstrode@redhat.com> 2.28.0-2
|
||||||
- Fix crossfade
|
- Fix crossfade
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user