aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/dlg_utils.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-09-24 08:43:34 +0000
committerGuy Harris <guy@alum.mit.edu>2003-09-24 08:43:34 +0000
commitd0d3f842bb581b36352dde0064700a6f1146e93e (patch)
tree2ad9db6b32ed7abc2c8ad4b83a7500dc0d962aa7 /gtk/dlg_utils.h
parentd2d2015fe2511a159b096ca6d016a93a0e9b591c (diff)
Add a "file_selection_new()" routine that does all the positioning (GTK+
2.x) and transient-for setting that's done for other dialogs, and use it for dialogs that come from the main window or from children of the main window. svn path=/trunk/; revision=8531
Diffstat (limited to 'gtk/dlg_utils.h')
-rw-r--r--gtk/dlg_utils.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/gtk/dlg_utils.h b/gtk/dlg_utils.h
index ab8372e2c8..200b20d71f 100644
--- a/gtk/dlg_utils.h
+++ b/gtk/dlg_utils.h
@@ -1,13 +1,12 @@
/* dlg_utils.h
* Declarations of utilities to use when constructing dialogs
*
- * $Id: dlg_utils.h,v 1.6 2002/08/28 21:03:47 jmayer Exp $
+ * $Id: dlg_utils.h,v 1.7 2003/09/24 08:43:34 guy Exp $
*
* Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
* Copyright 1998 Gerald Combs
*
- *
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
@@ -29,6 +28,10 @@
/* Create a dialog box window that belongs to Ethereal's main window. */
GtkWidget *dlg_window_new(const gchar *);
+/* Create a file selection dialog box window that belongs to Ethereal's
+ main window. */
+GtkWidget *file_selection_new(const gchar *);
+
/* Set the "activate" signal for a widget to call a routine to
activate the "OK" button for a dialog box. */
void dlg_set_activate(GtkWidget *widget, GtkWidget *ok_button);