diff --git a/0001-dont-inhibit-all-key-press-signals-in-webview.patch b/0001-dont-inhibit-all-key-press-signals-in-webview.patch new file mode 100644 index 0000000..8f5c1fc --- /dev/null +++ b/0001-dont-inhibit-all-key-press-signals-in-webview.patch @@ -0,0 +1,30 @@ +From dfea2df583a9995796bc7ac01f6048d47f35393a Mon Sep 17 00:00:00 2001 +From: Jan Lukas Gernert +Date: Thu, 11 Jun 2020 07:04:50 +0200 +Subject: [PATCH] dont inhibit all key press signals in webview + +--- + src/article_view/mod.rs | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/src/article_view/mod.rs b/src/article_view/mod.rs +index f43c487..6b7444f 100644 +--- a/src/article_view/mod.rs ++++ b/src/article_view/mod.rs +@@ -504,10 +504,11 @@ impl ArticleView { + KP_0 => closure_webivew.set_zoom_level(1.0), + KP_ADD => closure_webivew.set_zoom_level(zoom + 0.25), + KP_SUBTRACT => closure_webivew.set_zoom_level(zoom - 0.25), +- _ => {} ++ _ => return Inhibit(false), + } ++ return Inhibit(true); + } +- Inhibit(true) ++ Inhibit(false) + }) + .to_glib() as usize, + ); +-- +2.27.0 + diff --git a/newsflash.spec b/newsflash.spec index d2e60c5..01ff29e 100644 --- a/newsflash.spec +++ b/newsflash.spec @@ -2,7 +2,7 @@ Name: newsflash Version: 1.0~rc1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Modern feed reader # (MIT or ASL 2.0) and BSD @@ -22,9 +22,12 @@ Source0: https://gitlab.com/news-flash/news_flash_gtk/-/archive/%{version # https://gitlab.com/news-flash/news_flash_gtk/-/issues/66 # https://gitlab.com/news-flash/news_flash_gtk/-/commit/38361e7c8d644b10d9b6747c26eeec2b50d42845 Patch0001: 0001-use-usize-where-possible.patch +# https://gitlab.com/news-flash/news_flash_gtk/-/issues/74 +# https://gitlab.com/news-flash/news_flash_gtk/-/commit/dfea2df583a9995796bc7ac01f6048d47f35393a +Patch0002: 0001-dont-inhibit-all-key-press-signals-in-webview.patch # https://gitlab.com/news-flash/news_flash_gtk/-/issues/77 # https://gitlab.com/news-flash/news_flash_gtk/-/commit/2a9405ea8148329fa8973b7d7098a8b6ba6495a8 -Patch0002: 0001-dont-call-show_all-in-app-constructor.patch +Patch0003: 0001-dont-call-show_all-in-app-constructor.patch ExclusiveArch: %{rust_arches} @@ -81,6 +84,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/com.gitla %{_datadir}/metainfo/com.gitlab.newsflash.appdata.xml %changelog +* Sat Jun 13 2020 Igor Raits - 1.0~rc1-4 +- Make copying text with keyboard possible + * Fri Jun 12 2020 Igor Raits - 1.0~rc1-3 - Backport fix for 32bit platforms - Update fix for missing icon in GNOME Shell