Skip to content

Commit

Permalink
Grab focus without selecting the text
Browse files Browse the repository at this point in the history
  • Loading branch information
antenore committed Aug 22, 2016
1 parent cc91284 commit a140295
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions remmina/src/remmina_file_editor.c
Original file line number Diff line number Diff line change
Expand Up @@ -1362,6 +1362,7 @@ GtkWidget* remmina_file_editor_new_from_file(RemminaFile* remminafile)
if (remmina_file_get_filename(remminafile) == NULL)
{
gtk_entry_set_text(GTK_ENTRY(widget), _("Quick Connect"));
gtk_entry_grab_focus_without_selecting(GTK_ENTRY(widget));
g_signal_connect(G_OBJECT(widget), "changed", G_CALLBACK(remmina_file_editor_name_on_changed), gfe);
}
else
Expand Down

0 comments on commit a140295

Please sign in to comment.