aboutsummaryrefslogtreecommitdiffstats
path: root/ui_util.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-12-20 06:05:15 +0000
committerGuy Harris <guy@alum.mit.edu>1999-12-20 06:05:15 +0000
commita4738ae15a2457697203262c8cb5f72ab5206f7d (patch)
tree684aafb1a0dceec36ca30f5d69a430e0aa2e83a9 /ui_util.h
parent26f7fa7e5c4841a99dd0cc502487834550428d2c (diff)
Move the code to raise a window into a "reactivate_window()" routine,
and have that routine also de-iconify the window. svn path=/trunk/; revision=1365
Diffstat (limited to 'ui_util.h')
-rw-r--r--ui_util.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/ui_util.h b/ui_util.h
index 18908960d0..5a25c45704 100644
--- a/ui_util.h
+++ b/ui_util.h
@@ -1,7 +1,7 @@
/* ui_util.h
* Definitions for UI utility routines
*
- * $Id: ui_util.h,v 1.1 1999/12/09 07:19:04 guy Exp $
+ * $Id: ui_util.h,v 1.2 1999/12/20 06:05:08 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -33,6 +33,13 @@ extern "C" {
/* Set the name of the top-level window and its icon. */
void set_main_window_name(gchar *);
+/* Given a pointer to a GtkWidget for a top-level window, raise it and
+ de-iconify it. This routine is used if the user has done something to
+ ask that a window of a certain type be popped up when there can be only
+ one such window and such a window has already been popped up - we
+ pop up the existing one rather than creating a new one. */
+void reactivate_window(GtkWidget *);
+
/* Dialog type. */
#define ESD_TYPE_INFO 0
#define ESD_TYPE_WARN 1