import nautilus-3.28.1-15.el8

This commit is contained in:
CentOS Sources 2021-05-18 02:50:22 -04:00 committed by Andrew Lukoshko
parent 6944513aca
commit 1505f4ba46
2 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,33 @@
From 49718175b75c8ff89a219954f0abd6067e4a39f6 Mon Sep 17 00:00:00 2001
From: Wong Heung Sang <hswongac@gmail.com>
Date: Mon, 7 May 2018 00:10:15 +0800
Subject: [PATCH] nautilus-file.c: Fix open writable file in recent tab
File opened in recent tab now is read-only
when it is writable.
Replace nautilus_file_info_get_uri ()
with nautilus_file_info_get_activation_uri ()
fix the problem.
https://gitlab.gnome.org/GNOME/nautilus/issues/378
---
src/nautilus-file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nautilus-file.c b/src/nautilus-file.c
index 0ec5e3848..d3ba8c841 100644
--- a/src/nautilus-file.c
+++ b/src/nautilus-file.c
@@ -4482,7 +4482,7 @@ nautilus_file_get_activation_uri (NautilusFile *file)
{
g_return_val_if_fail (NAUTILUS_IS_FILE (file), NULL);
- return nautilus_file_info_get_uri (NAUTILUS_FILE_INFO (file));
+ return nautilus_file_info_get_activation_uri (NAUTILUS_FILE_INFO (file));
}
GFile *
--
2.29.2

View File

@ -8,7 +8,7 @@
Name: nautilus
Version: 3.28.1
Release: 14%{?dist}
Release: 15%{?dist}
Summary: File manager for GNOME
License: GPLv3+
@ -66,6 +66,9 @@ Patch31: nautilus-mime-actions.c-No-Application-Installed-dia.patch
Patch32: search-engine-tracker-Fix-broken-query-under-some-lo.patch
Patch33: search-engine-tracker-Expand-macro-as-string.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=1906499
Patch34: nautilus-file.c-Fix-open-writable-file-in-recent-tab.patch
BuildRequires: gtk-doc
BuildRequires: meson
BuildRequires: gcc
@ -178,6 +181,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
%{_datadir}/gir-1.0/*.gir
%changelog
* Wed Jan 6 2021 Ondrej Holy <oholy@redhat.com> - 3.28.1-15
- Fix activation_uri handling to prevent invalid bookmarks (rhbz#1906499)
* Fri Jun 19 2020 Ondrej Holy <oholy@redhat.com> - 3.28.1-14
- Fix broken tracker query under certain locales (rhbz#1847061)