Missing the ability to choose password storage when connecting to a network
When using nm-applet to connect a Wi-Fi network, a dialog appears asking for password. But users are not able to select where to store the password. The button in the password entry is insensetive.
Looking at the nma_utils_setup_password_storage
function, the description is rather confusing. ask_mode
is FALSE
, which means it's in editor mode. Then that icon should be activatable. The code does exactly that, but the description says
If %FALSE, it shall not be possible to select a different storage, because we only prompt for a password.
Despite the confusing description, this function simply disables password storage selection in ask mode. It'll be great if users can choose where to store their password when being prompted for a password.
* @ask_mode: %TRUE if the entry is shown in ASK mode. That means,
* while prompting for a password, contrary to being inside the
* editor mode.
* If %TRUE, the entry should be sensivive on selected "always-ask"
* icon (this is e.f. for nm-applet asking for password), otherwise
* not.
* If %FALSE, it shall not be possible to select a different storage,
* because we only prompt for a password, we cannot change the password
* location.
gtk_entry_set_icon_activatable (GTK_ENTRY (passwd_entry), GTK_ENTRY_ICON_SECONDARY,
!ask_mode);