diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-12-09 07:19:20 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-12-09 07:19:20 +0000 |
commit | 31c8f3c72d7033f52e97f3d99220017871096552 (patch) | |
tree | 403372c999954cf240f28ea03478f2b9c2bb3574 /util.h | |
parent | 84d545c1df3ea38d9022d97ba3c2df9ac3bd80eb (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 'util.h')
-rw-r--r-- | util.h | 18 |
1 files changed, 1 insertions, 17 deletions
@@ -1,7 +1,7 @@ /* util.h * Utility definitions * - * $Id: util.h,v 1.13 1999/11/22 06:24:42 gram Exp $ + * $Id: util.h,v 1.14 1999/12/09 07:19:05 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -30,22 +30,6 @@ extern "C" { #endif /* __cplusplus */ -/* Dialog type. */ -#define ESD_TYPE_INFO 0 -#define ESD_TYPE_WARN 1 -#define ESD_TYPE_CRIT 2 - -/* Which buttons to display. */ -#define ESD_BTN_OK 0 -#define ESD_BTN_CANCEL 1 - -#if __GNUC__ == 2 -void simple_dialog(gint, gint *, gchar *, ...) - __attribute__((format (printf, 3, 4))); -#else -void simple_dialog(gint, gint *, gchar *, ...); -#endif - int create_tempfile(char *, int, const char *); void ASCII_to_EBCDIC(guint8 *buf, guint bytes); |