diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-05-22 19:56:19 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-05-22 19:56:19 +0000 |
commit | d6eeb0936db40bb3b402fa31c87521981fe3d0eb (patch) | |
tree | c80cf0088027c1e2aeaeb3c228c07c82c581d02a /gtk/dlg_utils.h | |
parent | a8635a17e77900bb63865919e8e5552982756459 (diff) |
going to have a standard behaviour of the dialogs
(including remebering of the dialog size in recent file).
for a first step, I replaced all window_new() calls from dialogs
into dlg_window_new() ones, and removed all gtk_window_set_position
calls, this should be done in a more generalized way
svn path=/trunk/; revision=10964
Diffstat (limited to 'gtk/dlg_utils.h')
-rw-r--r-- | gtk/dlg_utils.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/dlg_utils.h b/gtk/dlg_utils.h index d0e1f10393..151c33a089 100644 --- a/gtk/dlg_utils.h +++ b/gtk/dlg_utils.h @@ -1,7 +1,7 @@ /* dlg_utils.h * Declarations of utilities to use when constructing dialogs * - * $Id: dlg_utils.h,v 1.12 2004/03/29 22:55:13 guy Exp $ + * $Id: dlg_utils.h,v 1.13 2004/05/22 19:56:18 ulfl Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -28,6 +28,10 @@ /* Create a dialog box window that belongs to Ethereal's main window. */ extern GtkWidget *dlg_window_new(const gchar *); +/* Show the created dialog box window. */ +/* use GTK_WIN_POS_CENTER or GTK_WIN_POS_MOUSE only! */ +extern void dlg_window_present(GtkWidget *win, GtkWindowPosition pos); + /* Create a file selection dialog box window that belongs to Ethereal's main window. */ typedef enum { |