Accepting request 923231 from GNOME:Apps

OBS-URL: https://build.opensuse.org/request/show/923231
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnote?expand=0&rev=78
This commit is contained in:
Dominique Leuenberger 2021-10-05 20:34:00 +00:00 committed by Git OBS Bridge
commit 327ef481bd
3 changed files with 34 additions and 1 deletions

26
2a6b5aa.patch Normal file
View File

@ -0,0 +1,26 @@
From 2a6b5aa4a5ebc1390854e252a6129203f2fad47c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aurimas=20=C4=8Cernius?= <aurisc4@gmail.com>
Date: Sun, 3 Oct 2021 21:05:37 +0300
Subject: [PATCH] Fix search box focus when very first search in window is in
note.
Fixes https://gitlab.gnome.org/GNOME/gnote/-/issues/108
---
src/recentchanges.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/recentchanges.cpp b/src/recentchanges.cpp
index e2a0847b..34ef6d4f 100644
--- a/src/recentchanges.cpp
+++ b/src/recentchanges.cpp
@@ -258,7 +258,6 @@ namespace gnote {
m_search_box->set_hexpand(false);
m_search_box->attach(*m_search_entry, 0, 0, 1, 1);
m_search_box->set_halign(Gtk::ALIGN_CENTER);
- m_search_box->show();
auto content = dynamic_cast<Gtk::Grid*>(m_embed_box.get_parent());
if(content) {
--
GitLab

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Oct 4 08:12:17 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Add 2a6b5aa.patch: Fix search box focus when very first search
in window is in note (boo#1191141).
-------------------------------------------------------------------
Sun Sep 26 16:04:39 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -27,7 +27,8 @@ Group: Productivity/Text/Editors
URL: https://wiki.gnome.org/Apps/Gnote
Source0: https://download.gnome.org/sources/gnote/41/%{name}-%{version}.tar.xz
Source99: gnote-rpmlintrc
# PATCH-FIX-UPSTREAM 2a6b5aa.patch boo#1191141 dimstar@opensuse.org -- Fix search box focus when very first search in window is in note.
Patch0: https://gitlab.gnome.org/GNOME/gnote/-/commit/2a6b5aa.patch
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: gcc-c++