diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2010-01-01 13:55:49 -0200 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2010-01-01 13:55:49 -0200 |
commit | 955f1d200c2a15bce4046f75f5d356a1f5f0ce39 (patch) | |
tree | c6fed245a923da10f917237ce7518ab8d04048ed /hardinfo2/remote.c | |
parent | e6fb48251e70d87404bf7738722679b9281ed108 (diff) |
Pressing enter on Host text entry activates Save/Connect button
Diffstat (limited to 'hardinfo2/remote.c')
-rw-r--r-- | hardinfo2/remote.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hardinfo2/remote.c b/hardinfo2/remote.c index eed4a308..f6580fac 100644 --- a/hardinfo2/remote.c +++ b/hardinfo2/remote.c @@ -944,6 +944,8 @@ static HostDialog *host_dialog_new(GtkWidget * parent, host_combo_changed_cb(GTK_COMBO_BOX(cmb_type), host_dlg); host_dialog_hostname_changed(GTK_EDITABLE(txt_hostname), host_dlg); + gtk_entry_set_activates_default(GTK_ENTRY(txt_hostname), TRUE); + return host_dlg; } |