aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/capture_dlg.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-04-08 19:07:43 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-04-08 19:07:43 +0000
commit9ebddd2d71d05d5ac884d2a35ec55c24fe298338 (patch)
tree391c01396c6ac3452bff80704d2731dee322f202 /gtk/capture_dlg.c
parentcff307f012664f6c0105bd9fe08b2e3ff11d66d6 (diff)
catch the enter key from the interface drop-down list,
so pressing enter will really start a capture svn path=/trunk/; revision=10566
Diffstat (limited to 'gtk/capture_dlg.c')
-rw-r--r--gtk/capture_dlg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/capture_dlg.c b/gtk/capture_dlg.c
index 3ffa683fb3..e98807e272 100644
--- a/gtk/capture_dlg.c
+++ b/gtk/capture_dlg.c
@@ -1,7 +1,7 @@
/* capture_dlg.c
* Routines for packet capture windows
*
- * $Id: capture_dlg.c,v 1.125 2004/04/08 08:05:20 guy Exp $
+ * $Id: capture_dlg.c,v 1.126 2004/04/08 19:07:43 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -962,10 +962,11 @@ capture_prep(void)
widgets. */
capture_prep_adjust_sensitivity(NULL, cap_open_w);
- /* Catch the "activate" signal on the filter and file name text
+ /* Catch the "activate" signal on the text
entries, so that if the user types Return there, we act as if the
"OK" button had been selected, as happens if Return is typed if some
widget that *doesn't* handle the Return key has the input focus. */
+ dlg_set_activate(GTK_COMBO(if_cb)->entry, ok_bt);
dlg_set_activate(filter_te, ok_bt);
dlg_set_activate(file_te, ok_bt);