deja-dup-team team mailing list archive
-
deja-dup-team team
-
Mailing list archive
-
Message #00070
[Merge] lp:~chogydan/deja-dup/show-password into lp:deja-dup
Daniel Hollocher has proposed merging lp:~chogydan/deja-dup/show-password into lp:deja-dup.
Requested reviews:
Déjà Dup Maintainers (deja-dup-team)
Related bugs:
#440308 Have 'show encryption password' checkbox
https://bugs.launchpad.net/bugs/440308
added a show password field which toggles the visibility of the password field
--
https://code.launchpad.net/~chogydan/deja-dup/show-password/+merge/19562
Your team Déjà Dup Maintainers is subscribed to branch lp:deja-dup.
=== modified file 'deja-dup/AssistantOperation.vala'
--- deja-dup/AssistantOperation.vala 2009-12-29 15:00:18 +0000
+++ deja-dup/AssistantOperation.vala 2010-02-18 01:16:14 +0000
@@ -261,6 +261,16 @@
++rows;
encrypt_entry = (Gtk.Entry)w;
+ w = new Gtk.CheckButton.with_mnemonic(_("_Show password"));
+ ((Gtk.CheckButton)w).toggled.connect((button) => {
+ if(button.get_active())
+ encrypt_entry.set_visibility(true);
+ else
+ encrypt_entry.set_visibility(false);
+ });
+ page.attach(w, 0, 2, rows, rows + 1, Gtk.AttachOptions.FILL, Gtk.AttachOptions.FILL, 0, 0);
+ ++rows;
+
w = new Gtk.CheckButton.with_mnemonic(_("_Remember password"));
page.attach(w, 0, 2, rows, rows + 1, Gtk.AttachOptions.FILL | Gtk.AttachOptions.EXPAND, Gtk.AttachOptions.FILL, 0, 0);
++rows;
Follow ups