Skip to content

Commit

Permalink
Get ssh_username from remmina profile - fixes #1255
Browse files Browse the repository at this point in the history
  • Loading branch information
antenore committed Sep 1, 2017
1 parent a197258 commit 435f826
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion remmina/src/remmina_file_editor.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
}
}

Expand Down

0 comments on commit 435f826

Please sign in to comment.