SHA256
1
0
forked from pool/eolie

- Add eolie-0.9.100-fix-crash-on-ctrl-shift-p.patch

(glgo#World/eolie#381).

OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/eolie?expand=0&rev=56
This commit is contained in:
Antoine Belvire 2021-01-04 21:30:13 +00:00 committed by Git OBS Bridge
parent d8caab7cf1
commit 91cc165f35
3 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,29 @@
From fc8d9227f20eca8df0bea785c731386d4caa3618 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9dric=20Bellegarde?= <cedric.bellegarde@adishatz.org>
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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 4 21:18:38 UTC 2021 - Antoine Belvire <antoine.belvire@opensuse.org>
- 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 <antoine.belvire@opensuse.org> Sat Jan 2 13:38:54 UTC 2021 - Antoine Belvire <antoine.belvire@opensuse.org>

View File

@ -27,6 +27,8 @@ License: GPL-3.0-or-later
Group: Productivity/Networking/Web/Browsers Group: Productivity/Networking/Web/Browsers
URL: https://wiki.gnome.org/Apps/Eolie URL: https://wiki.gnome.org/Apps/Eolie
Source: %{name}-%{version}.tar.xz 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: meson
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glib-2.0)
@ -64,7 +66,7 @@ search results from the Eolie Web browser.
%lang_package %lang_package
%prep %prep
%autosetup %autosetup -p1
# Don't use env interpreter so that the rpm dependency detection works # 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 sed -i 's;/usr/bin/env python3;/usr/bin/python3;' eolie.in search-provider/eolie-sp.in