summaryrefslogtreecommitdiffstats
path: root/debian/patches/mime-action-Fix-reinstated-regression.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 15:59:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 15:59:37 +0000
commitbb0294a65b2f929503d735a2a1e85612295a4376 (patch)
tree0491aba2d2376789ff2165f790859e1df8410c28 /debian/patches/mime-action-Fix-reinstated-regression.patch
parentAdding upstream version 3.38.2. (diff)
downloadnautilus-debian.tar.xz
nautilus-debian.zip
Adding debian version 3.38.2-1+deb11u1.debian/3.38.2-1+deb11u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/mime-action-Fix-reinstated-regression.patch')
-rw-r--r--debian/patches/mime-action-Fix-reinstated-regression.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/mime-action-Fix-reinstated-regression.patch b/debian/patches/mime-action-Fix-reinstated-regression.patch
new file mode 100644
index 0000000..8458b71
--- /dev/null
+++ b/debian/patches/mime-action-Fix-reinstated-regression.patch
@@ -0,0 +1,27 @@
+From: =?utf-8?q?Ant=C3=B3nio_Fernandes?= <antoniof@gnome.org>
+Date: Fri, 12 Mar 2021 16:44:24 +0000
+Subject: mime-action: Fix reinstated regression
+
+Commit [1] has reinstated a regression from the earlier commit [2].
+
+[1] 080f83385ff79a8be54ee31e7a45422138226f1f
+[2] 02ba130f3d61fae414459cb308adf270edb01e6e
+
+Origin: upstream, 40.rc, commit:953ca87b490d05368483c5c651d6a545da7c6c4d
+---
+ src/nautilus-mime-actions.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c
+index ae5b805..6f839a1 100644
+--- a/src/nautilus-mime-actions.c
++++ b/src/nautilus-mime-actions.c
+@@ -1776,7 +1776,7 @@ activate_files (ActivateParameters *parameters)
+ num_files = g_queue_get_length (open_in_app_uris);
+ open_files = TRUE;
+
+- if (g_queue_is_empty (open_in_app_uris) &&
++ if (!g_queue_is_empty (open_in_app_uris) &&
+ (!parameters->user_confirmation ||
+ num_files + num_unhandled > SILENT_OPEN_LIMIT) &&
+ num_apps > 1)