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/gtkglobals.h | |
parent | 0599f44d09c8799264cae5755b8dc338ce8391aa (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 'gtk/gtkglobals.h')
-rw-r--r-- | gtk/gtkglobals.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkglobals.h b/gtk/gtkglobals.h index 60f34068cb..32a23bdc39 100644 --- a/gtk/gtkglobals.h +++ b/gtk/gtkglobals.h @@ -1,7 +1,7 @@ /* gtkglobals.h * GTK-related Global defines, etc. * - * $Id: gtkglobals.h,v 1.1 1999/10/20 22:36:05 gram Exp $ + * $Id: gtkglobals.h,v 1.2 1999/12/09 07:19:18 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -30,8 +30,8 @@ #include <gtk/gtk.h> #endif -extern GtkWidget *file_sel, *packet_list, *tree_view, *byte_view, *prog_bar, - *info_bar; +extern GtkWidget *top_level, *file_sel, *packet_list, *tree_view, + *byte_view, *prog_bar, *info_bar; extern GdkFont *m_r_font, *m_b_font; extern GtkStyle *item_style; |