aboutsummaryrefslogtreecommitdiffstats
path: root/prefs.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>1999-12-09 07:19:20 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>1999-12-09 07:19:20 +0000
commit31c8f3c72d7033f52e97f3d99220017871096552 (patch)
tree403372c999954cf240f28ea03478f2b9c2bb3574 /prefs.c
parent84d545c1df3ea38d9022d97ba3c2df9ac3bd80eb (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1255 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'prefs.c')
-rw-r--r--prefs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/prefs.c b/prefs.c
index 65adfc117d..b715d410e1 100644
--- a/prefs.c
+++ b/prefs.c
@@ -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*);