diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2014-06-19 12:40:11 -0700 |
---|---|---|
committer | Balint Reczey <balint@balintreczey.hu> | 2014-06-19 22:21:05 +0000 |
commit | e07b7953a80af30ad1f7dd51f8c8f773cd514f56 (patch) | |
tree | 76435e218cad8830ce01565d769ec8f60d5bab63 /ui/gtk/gui_utils.h | |
parent | f5e072a2c3fb913bf4615bee77e8f4b7fd14dae8 (diff) |
Save the size and position of the expert info dialog
Set initialize position to center on parent
bug: 3817
Change-Id: Iad48aa762d892908d50f742606160c8305084f48
Reviewed-on: https://code.wireshark.org/review/2459
Reviewed-by: Balint Reczey <balint@balintreczey.hu>
Tested-by: Balint Reczey <balint@balintreczey.hu>
Diffstat (limited to 'ui/gtk/gui_utils.h')
-rw-r--r-- | ui/gtk/gui_utils.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/gtk/gui_utils.h b/ui/gtk/gui_utils.h index e9174239cd..68624cb835 100644 --- a/ui/gtk/gui_utils.h +++ b/ui/gtk/gui_utils.h @@ -109,9 +109,11 @@ extern GtkWidget *window_new(GtkWindowType type, const gchar *title); * @param type window type, typical GTK_WINDOW_TOPLEVEL * @param title the title for the new window * @param geom_name the name to distinguish this window; will also be used for the recent file (don't use special chars) + * @parm pos the initial position of the window if a previously saved geometry was not saved or found. + * If the initial position does not matter, specify GTK_WIN_POS_NONE. * @return the newly created window */ -extern GtkWidget *window_new_with_geom(GtkWindowType type, const gchar *title, const gchar *geom_name); +extern GtkWidget *window_new_with_geom(GtkWindowType type, const gchar *title, const gchar *geom_name, GtkWindowPosition pos); /** Create a new splash window, with no icon or title bar. * |