diff options
author | Gerald Combs <gerald@wireshark.org> | 2001-12-12 21:39:01 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2001-12-12 21:39:01 +0000 |
commit | 7e092f2dd86c37089c98397e0d56bf45680fe4b5 (patch) | |
tree | 7934672ab2655891cbaefb3a79774cde4dda8024 /gtk/dlg_utils.c | |
parent | a93f4f8515b39e6e4d66b44e3dc420092fc79f34 (diff) |
Go nuts with the 3D logo.
Add a routine to ui_util.c that sets a window's icon pixmap to a 16x16
version of the 3D logo. Call the routine for each window that is created.
This has been tested with kwm and Sawfish (which expect a 16x16 icon), but
we may have to come up with a better solution for other window managers
(e.g. olwm and mwm).
Add a 3D exclamation point image. Replace the exclamation point and
Ethereal logo images used in simple_dialog() with their 3D counterparts.
Remove the old icons from the source distribution.
svn path=/trunk/; revision=4390
Diffstat (limited to 'gtk/dlg_utils.c')
-rw-r--r-- | gtk/dlg_utils.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/dlg_utils.c b/gtk/dlg_utils.c index ef882fac09..23bc45eb4e 100644 --- a/gtk/dlg_utils.c +++ b/gtk/dlg_utils.c @@ -1,7 +1,7 @@ /* dlg_utils.c * Utilities to use when constructing dialogs * - * $Id: dlg_utils.c,v 1.5 2000/08/23 06:55:37 guy Exp $ + * $Id: dlg_utils.c,v 1.6 2001/12/12 21:38:58 gerald Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -31,6 +31,7 @@ #include <gdk/gdkkeysyms.h> #include "gtkglobals.h" +#include "ui_util.h" static void dlg_activate (GtkWidget *widget, gpointer ok_button); @@ -47,6 +48,8 @@ dlg_window_new(const gchar *title) win = gtk_window_new(GTK_WINDOW_DIALOG); gtk_window_set_transient_for(GTK_WINDOW(win), GTK_WINDOW(top_level)); gtk_window_set_title(GTK_WINDOW(win), title); + gtk_signal_connect (GTK_OBJECT (win), "realize", + GTK_SIGNAL_FUNC (window_icon_realize_cb), NULL); return win; } |