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/goto_dlg.c | |
parent | 0599f44d09c8799264cae5755b8dc338ce8391aa (diff) | |
download | wireshark-80618858d61d768373f42d46d6ccf0e80a303bce.tar.gz wireshark-80618858d61d768373f42d46d6ccf0e80a303bce.tar.bz2 wireshark-80618858d61d768373f42d46d6ccf0e80a303bce.zip |
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/goto_dlg.c')
-rw-r--r-- | gtk/goto_dlg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/goto_dlg.c b/gtk/goto_dlg.c index 03f662af21..02b16f6ea0 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.2 1999/11/30 07:27:29 guy Exp $ + * $Id: goto_dlg.c,v 1.3 1999/12/09 07:19:18 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -46,7 +46,7 @@ #include "goto_dlg.h" #include "prefs_dlg.h" -#include "util.h" +#include "ui_util.h" /* Capture callback data keys */ #define E_GOTO_FNUMBER_KEY "goto_fnumber_te" |