diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-03-15 08:54:24 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-03-15 08:54:24 +0000 |
commit | 87d1359345103aa94e6b7287d7aa3a89d5caeedf (patch) | |
tree | f0f46921841f374363cdd34f3dd06b9680e12cee /gtk/goto_dlg.c | |
parent | 3fa89a91c39e5c7fb87bf20919a2920db69ce331 (diff) | |
download | wireshark-87d1359345103aa94e6b7287d7aa3a89d5caeedf.tar.gz |
Give the entry box in the "Find Frame" and "Go To Frame" dialog boxes
the initial focus, so you can start typing immediately.
svn path=/trunk/; revision=1722
Diffstat (limited to 'gtk/goto_dlg.c')
-rw-r--r-- | gtk/goto_dlg.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/goto_dlg.c b/gtk/goto_dlg.c index fef1f32be0..dae142c4e3 100644 --- a/gtk/goto_dlg.c +++ b/gtk/goto_dlg.c @@ -1,7 +1,7 @@ /* goto_dlg.c * Routines for "go to frame" window * - * $Id: goto_dlg.c,v 1.4 2000/01/03 06:59:21 guy Exp $ + * $Id: goto_dlg.c,v 1.5 2000/03/15 08:54:24 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -110,6 +110,9 @@ goto_frame_cb(GtkWidget *w, gpointer d) /* Attach pointers to needed widgets to the capture prefs window/object */ gtk_object_set_data(GTK_OBJECT(goto_frame_w), E_GOTO_FNUMBER_KEY, fnumber_te); + /* Give the initial focus to the "Frame number" entry box. */ + gtk_widget_grab_focus(fnumber_te); + gtk_widget_show(goto_frame_w); } |