|
Lines 467-475
ep_ask_password(EPassMsg *msg)
Link Here
|
| 467 |
/* static password, shouldn't be remembered between sessions, |
739 |
/* static password, shouldn't be remembered between sessions, |
| 468 |
but will be remembered within the session beyond our control */ |
740 |
but will be remembered within the session beyond our control */ |
| 469 |
if (type != E_PASSWORDS_REMEMBER_NEVER) { |
741 |
if (type != E_PASSWORDS_REMEMBER_NEVER) { |
| 470 |
msg->check = gtk_check_button_new_with_mnemonic(type == E_PASSWORDS_REMEMBER_FOREVER |
742 |
if (msg->flags & E_PASSWORDS_PASSPHRASE) { |
| 471 |
? _("_Remember this password") |
743 |
msg->check = gtk_check_button_new_with_mnemonic(type == E_PASSWORDS_REMEMBER_FOREVER |
| 472 |
: _("_Remember this password for the remainder of this session")); |
744 |
? _("_Remember this passphrase") |
|
|
745 |
: _("_Remember this passphrase for the remainder of this session")); |
| 746 |
} else { |
| 747 |
msg->check = gtk_check_button_new_with_mnemonic(type == E_PASSWORDS_REMEMBER_FOREVER |
| 748 |
? _("_Remember this password") |
| 749 |
: _("_Remember this password for the remainder of this session")); |
| 750 |
|
| 751 |
} |
| 473 |
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (msg->check), *msg->remember); |
752 |
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (msg->check), *msg->remember); |
| 474 |
gtk_box_pack_start (GTK_BOX (vbox), msg->check, TRUE, FALSE, 3); |
753 |
gtk_box_pack_start (GTK_BOX (vbox), msg->check, TRUE, FALSE, 3); |
| 475 |
if ((msg->flags & E_PASSWORDS_DISABLE_REMEMBER)) |
754 |
if ((msg->flags & E_PASSWORDS_DISABLE_REMEMBER)) |