diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-11-06 06:28:07 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-11-06 06:28:07 +0000 |
commit | f0889e55c1913a8ca89e2f0c2f1ad9b701fa8779 (patch) | |
tree | acf447680007e0258ef70dea3e295601b5ca8195 /gtk/find_dlg.h | |
parent | bba1ad82d1179e0fe43d2aab42f418613d8a3062 (diff) |
Add a "Find Frame" menu item under "Display"; it lets you use a display
filter to search forward or backward in the list of displayed frames for
a matching frame.
When filtering the display, readjust the display to show the "current"
frame if it passed the display filter. When a file is read in, the
first frame becomes the "current" frame; when a frame is selected, it
becomes the "current" frame, and remains so *even if you unselect it*,
until another frame is selected.
Select the first frame when a file is read in.
Disable most of the "Display" and "Tools" menu items if there's no
current capture file, and enable the relevant ones if there is.
svn path=/trunk/; revision=982
Diffstat (limited to 'gtk/find_dlg.h')
-rw-r--r-- | gtk/find_dlg.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gtk/find_dlg.h b/gtk/find_dlg.h new file mode 100644 index 0000000000..dd7518b018 --- /dev/null +++ b/gtk/find_dlg.h @@ -0,0 +1,31 @@ +/* find_dlg.h + * Definitions for "find frame" window + * + * $Id: find_dlg.h,v 1.1 1999/11/06 06:27:09 guy Exp $ + * + * Ethereal - Network traffic analyzer + * By Gerald Combs <gerald@zing.org> + * Copyright 1998 Gerald Combs + * + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef __FIND_DLG_H__ +#define __FIND_DLG_H__ + +void find_frame_cb(GtkWidget *, gpointer); + +#endif /* find_dlg.h */ |