[seahorse] Fix lock/unlock button in keyring properties



commit 5333656b0e5907bfe262a071926b0db4f7823afb
Author: MaxXor <admin maxxor org>
Date:   Mon Aug 13 17:12:14 2018 +0000

    Fix lock/unlock button in keyring properties

 gkr/gkr-keyring-properties.vala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gkr/gkr-keyring-properties.vala b/gkr/gkr-keyring-properties.vala
index 9096f921..20e75d0f 100644
--- a/gkr/gkr-keyring-properties.vala
+++ b/gkr/gkr-keyring-properties.vala
@@ -78,7 +78,7 @@ public class Seahorse.Gkr.KeyringProperties : Gtk.Dialog {
 
     private void update_lock_unlock_button() {
         this.lock_unlock_stack.visible_child_name
-            = this.keyring.locked? "lock_unlock_button_locked" : "lock_unlock_button_unlocked";
+            = this.keyring.locked? "lock_unlock_button_unlocked" : "lock_unlock_button_locked";
     }
 
     private async void set_keyring_locked() {
@@ -90,7 +90,7 @@ public class Seahorse.Gkr.KeyringProperties : Gtk.Dialog {
                 yield this.keyring.lock(null, null);
         } catch (Error e) {
             warning("Couldn't %s keyring <%s>",
-                this.keyring.locked? "lock" : "unlock",
+                this.keyring.locked? "unlock" : "lock",
                 this.keyring.label);
         }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]