aboutsummaryrefslogtreecommitdiffstats
path: root/capture.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-12-09 07:19:20 +0000
committerGuy Harris <guy@alum.mit.edu>1999-12-09 07:19:20 +0000
commit80618858d61d768373f42d46d6ccf0e80a303bce (patch)
tree403372c999954cf240f28ea03478f2b9c2bb3574 /capture.c
parent0599f44d09c8799264cae5755b8dc338ce8391aa (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 'capture.c')
-rw-r--r--capture.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/capture.c b/capture.c
index 512e4e27b9..e8133c4225 100644
--- a/capture.c
+++ b/capture.c
@@ -1,7 +1,7 @@
/* capture.c
* Routines for packet capture windows
*
- * $Id: capture.c,v 1.85 1999/11/30 23:56:34 gram Exp $
+ * $Id: capture.c,v 1.86 1999/12/09 07:19:02 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -90,6 +90,7 @@
#include "gtk/menu.h"
#include "capture.h"
#include "util.h"
+#include "ui_util.h"
#include "prefs.h"
#include "globals.h"