File: Revert-Allow-quick-unlock-only-once.patch

package info (click to toggle)
secrets 11.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,744 kB
  • sloc: python: 6,509; xml: 7; makefile: 4
file content (24 lines) | stat: -rw-r--r-- 741 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: =?utf-8?q?Jeremy_B=C3=ADcha?= <jeremy.bicha@canonical.com>
Date: Sun, 13 Apr 2025 12:04:13 -0400
Subject: Revert "Allow quick unlock only once"

This reverts commit cec85b1382ec5100caedcb4d305dc16b7e901ecc.

asyncio requires pygobject 3.52
---
 gsecrets/unlock_database.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gsecrets/unlock_database.py b/gsecrets/unlock_database.py
index d6f30ae..d48991b 100644
--- a/gsecrets/unlock_database.py
+++ b/gsecrets/unlock_database.py
@@ -243,8 +243,6 @@ class UnlockDatabase(Adw.Bin):
         self._set_sensitive(True)
         self._progress.end_pulse()
 
-        self.quick_unlock_failed = True
-
         # Regrab the focus of the entry.
         self.password_entry.grab_focus()