Removed 'Encrypted password' from password combo boxes

pull/72/head
parent ec5ae6bd6e
commit a7405a8c7a

@ -1615,7 +1615,7 @@ void on_main_edit(GtkWidget *self, main_window *widgets){
if(parsed_size>5){
if (strcmp(parameters[5],"x")){
gtk_entry_set_text(GTK_ENTRY(window->userPasswordEntry), parsed_size>5?parameters[5]:"");
gtk_combo_box_set_active(GTK_COMBO_BOX(window->userPasswordCombo),3);
gtk_combo_box_set_active(GTK_COMBO_BOX(window->userPasswordCombo),2);
}
}
@ -1711,7 +1711,7 @@ void on_main_edit(GtkWidget *self, main_window *widgets){
if (size>4){
if (strcmp(parsed[4],"")&&strcmp(parsed[4],"x")){
gtk_entry_set_text(GTK_ENTRY(window->PasswordEntry),parsed[4]);
gtk_combo_box_set_active(GTK_COMBO_BOX(window->PasswordCombo),4);
gtk_combo_box_set_active(GTK_COMBO_BOX(window->PasswordCombo),2);
} else {
gtk_combo_box_set_active(GTK_COMBO_BOX(window->PasswordCombo),1);
}

@ -237,7 +237,6 @@
<item translatable="yes">Default</item>
<item translatable="yes">No password required</item>
<item translatable="yes">Set a password</item>
<item translatable="yes">Encrypted password</item>
</items>
</object>
<packing>

Loading…
Cancel
Save