diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-12-09 07:19:20 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-12-09 07:19:20 +0000 |
commit | 80618858d61d768373f42d46d6ccf0e80a303bce (patch) | |
tree | 403372c999954cf240f28ea03478f2b9c2bb3574 /gtk/find_dlg.c | |
parent | 0599f44d09c8799264cae5755b8dc338ce8391aa (diff) |
Move the GTK+ implementations of various UI utilities out of "util.c"
into "gtk/ui_util.c", and move the declarations of those UI utilities
out of "util.h" into "ui_util.h". (The header file is in the top-level
directory, rather than the "gtk" directory, because it declares
window-system-independent interfaces to routines with
window-system-dependent implementations.)
Add to "gtk/ui_util.c" a routine to set the window and icon title.
Use that routine to make the title of an Ethereal top-level window be
{filename} - Ethereal
if there's a capture open, and have "{filename}" be "<capture>" if it's
a temporary capture file.
svn path=/trunk/; revision=1255
Diffstat (limited to 'gtk/find_dlg.c')
-rw-r--r-- | gtk/find_dlg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/find_dlg.c b/gtk/find_dlg.c index f9d5b1e2de..ba4f461836 100644 --- a/gtk/find_dlg.c +++ b/gtk/find_dlg.c @@ -1,7 +1,7 @@ /* find_dlg.c * Routines for "find frame" window * - * $Id: find_dlg.c,v 1.3 1999/11/06 06:54:02 guy Exp $ + * $Id: find_dlg.c,v 1.4 1999/12/09 07:19:17 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -44,7 +44,7 @@ #include "find_dlg.h" #include "prefs_dlg.h" -#include "util.h" +#include "ui_util.h" /* Capture callback data keys */ #define E_FIND_FILT_KEY "find_filter_te" |