diff --git a/eolie-0.9.100-fix-crash-on-ctrl-shift-p.patch b/eolie-0.9.100-fix-crash-on-ctrl-shift-p.patch new file mode 100644 index 0000000..c8b4caf --- /dev/null +++ b/eolie-0.9.100-fix-crash-on-ctrl-shift-p.patch @@ -0,0 +1,29 @@ +From fc8d9227f20eca8df0bea785c731386d4caa3618 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?C=C3=A9dric=20Bellegarde?= +Date: Sun, 3 Jan 2021 17:18:46 +0100 +Subject: [PATCH] Fix #381 + +--- + eolie/window.py | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/eolie/window.py b/eolie/window.py +index 40d159de..987abc6b 100644 +--- a/eolie/window.py ++++ b/eolie/window.py +@@ -439,9 +439,9 @@ class Window(Handy.ApplicationWindow, WindowState): + elif string == "print": + self.container.webview.print() + elif string == "private": +- self.container.add_webview(App().start_page, +- LoadingType.FOREGROUND, +- True) ++ self.container.add_webview_for_uri(App().start_page, ++ LoadingType.FOREGROUND, ++ True) + elif string == "last_page": + App().pages_menu.activate_last_action() + elif string == "zoom_in": +-- +GitLab + diff --git a/eolie.changes b/eolie.changes index f0183d0..3aaad79 100644 --- a/eolie.changes +++ b/eolie.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 4 21:18:38 UTC 2021 - Antoine Belvire + +- Add eolie-0.9.100-fix-crash-on-ctrl-shift-p.patch + (glgo#World/eolie#381). + ------------------------------------------------------------------- Sat Jan 2 13:38:54 UTC 2021 - Antoine Belvire diff --git a/eolie.spec b/eolie.spec index 706ae74..aa1353d 100644 --- a/eolie.spec +++ b/eolie.spec @@ -27,6 +27,8 @@ License: GPL-3.0-or-later Group: Productivity/Networking/Web/Browsers URL: https://wiki.gnome.org/Apps/Eolie Source: %{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM eolie-0.9.100-fix-crash-on-ctrl-shift-p.patch -- glgo#World/eolie#381 +Patch0: eolie-0.9.100-fix-crash-on-ctrl-shift-p.patch BuildRequires: meson BuildRequires: pkgconfig BuildRequires: pkgconfig(glib-2.0) @@ -64,7 +66,7 @@ search results from the Eolie Web browser. %lang_package %prep -%autosetup +%autosetup -p1 # Don't use env interpreter so that the rpm dependency detection works sed -i 's;/usr/bin/env python3;/usr/bin/python3;' eolie.in search-provider/eolie-sp.in