Commit 09fbe270 authored by Antenore Gatta's avatar Antenore Gatta Committed by GitHub

Merge pull request #1267 from FreeRDP/issue-1255_sshuser

Get ssh_username from remmina profile - closes #1255
parents a197258d 435f8269
......@@ -326,7 +326,8 @@ static void remmina_file_editor_ssh_enabled_check_on_toggled(GtkToggleButton* to
if (gfe->priv->ssh_username_entry)
if (enabled && gtk_entry_get_text(GTK_ENTRY(gfe->priv->ssh_username_entry)) [0] == '\0')
{
gtk_entry_set_text(GTK_ENTRY(gfe->priv->ssh_username_entry), g_get_user_name());
gtk_entry_set_text(GTK_ENTRY(gfe->priv->ssh_username_entry),
remmina_file_get_string(priv->remmina_file, "ssh_username"));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment