Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package seahorse for openSUSE:Factory 
checked in at 2021-02-25 18:26:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/seahorse (Old)
 and      /work/SRC/openSUSE:Factory/.seahorse.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "seahorse"

Thu Feb 25 18:26:30 2021 rev:114 rq:874395 version:3.38.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/seahorse/seahorse.changes        2021-02-22 
14:22:40.835568200 +0100
+++ /work/SRC/openSUSE:Factory/.seahorse.new.2378/seahorse.changes      
2021-02-25 18:26:33.218145407 +0100
@@ -1,0 +2,6 @@
+Mon Feb 22 08:48:18 UTC 2021 - Dominique Leuenberger <[email protected]>
+
+- Add 153.patch: key-manager: Make sure to update after unlocking
+  (boo#1179003).
+
+-------------------------------------------------------------------

New:
----
  153.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ seahorse.spec ++++++
--- /var/tmp/diff_new_pack.7JGZkF/_old  2021-02-25 18:26:33.714145767 +0100
+++ /var/tmp/diff_new_pack.7JGZkF/_new  2021-02-25 18:26:33.714145767 +0100
@@ -24,7 +24,8 @@
 Group:          Productivity/Security
 URL:            https://wiki.gnome.org/Apps/Seahorse
 Source0:        
https://download.gnome.org/sources/seahorse/3.38/%{name}-%{version}.tar.xz
-
+# PATCH-FIX-UPSTREAM 153.patch boo#1179003 [email protected] -- 
key-manager: Make sure to update after unlocking
+Patch0:         
https://gitlab.gnome.org/GNOME/seahorse/-/merge_requests/153.patch
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  fdupes
 BuildRequires:  gpg2

++++++ 153.patch ++++++
>From a635e5df77ced15dbc7ac3b7b461108133cdb4d7 Mon Sep 17 00:00:00 2001
From: Niels De Graef <[email protected]>
Date: Sat, 20 Feb 2021 09:06:44 +0100
Subject: [PATCH] key-manager: Make sure to update after unlocking

When we unlock a keyring, the main list view gets updated due to a
signal that gets triggered when the number of elements in a collection
changes. In the case of an empty keying however, we won't get this
signal as the number of elements will remain zero. We can fix this by
explicitly triggering an update.

Fixes https://gitlab.gnome.org/GNOME/seahorse/-/issues/315
---
 src/key-manager.vala | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/key-manager.vala b/src/key-manager.vala
index ed5e4ca0..559188f1 100644
--- a/src/key-manager.vala
+++ b/src/key-manager.vala
@@ -492,6 +492,8 @@ public class Seahorse.KeyManager : Catalog {
             try {
                 unlock_button.sensitive = true;
                 place.unlock.end(res);
+                // Explicitly trigger an update of the main view
+                check_empty_state();
             } catch (GLib.Error e) {
                 unlock_button.sensitive = true;
                 Util.show_error(this, _("Couldn???t unlock keyring"), 
e.message);
-- 
GitLab

Reply via email to