summaryrefslogtreecommitdiff
path: root/gnome-ssh-askpass.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-22 12:51:42 +1100
committerDamien Miller <djm@mindrot.org>1999-11-22 12:51:42 +1100
commit22218727fdf4ad356b7ad9ec5f4406e31858db1d (patch)
treec1cb52c78c532268bade8beb9d3984e9d87d39e3 /gnome-ssh-askpass.c
parent431f66b68c98e9db87574860a0a29d8d8aa9b52c (diff)
- Make <enter> close gnome-ssh-askpass (Debian bug #50299)
Diffstat (limited to 'gnome-ssh-askpass.c')
-rw-r--r--gnome-ssh-askpass.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnome-ssh-askpass.c b/gnome-ssh-askpass.c
index 749560992..93a64d1e1 100644
--- a/gnome-ssh-askpass.c
+++ b/gnome-ssh-askpass.c
@@ -74,6 +74,9 @@ int passphrase_dialog(char **passphrase_p, char *message)
74 gdk_pointer_grab(dialog->window, TRUE, 0, NULL, NULL, GDK_CURRENT_TIME); 74 gdk_pointer_grab(dialog->window, TRUE, 0, NULL, NULL, GDK_CURRENT_TIME);
75 gdk_keyboard_grab(dialog->window, FALSE, GDK_CURRENT_TIME); 75 gdk_keyboard_grab(dialog->window, FALSE, GDK_CURRENT_TIME);
76 76
77 /* Make <enter> close dialog */
78 gnome_dialog_editable_enters(GNOME_DIALOG(dialog), GTK_EDITABLE(entry));
79
77 /* Run dialog */ 80 /* Run dialog */
78 result = gnome_dialog_run(GNOME_DIALOG(dialog)); 81 result = gnome_dialog_run(GNOME_DIALOG(dialog));
79 82