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 /prefs.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 'prefs.c')
-rw-r--r-- | prefs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* prefs.c * Routines for handling preferences * - * $Id: prefs.c,v 1.23 1999/12/02 04:30:03 gerald Exp $ + * $Id: prefs.c,v 1.24 1999/12/09 07:19:04 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -51,7 +51,7 @@ #include "prefs.h" #include "column.h" #include "print.h" -#include "util.h" +#include "ui_util.h" /* Internal functions */ static int set_pref(gchar*, gchar*); |