diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-03-29 23:14:43 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-03-29 23:14:43 +0000 |
commit | 9348381d23866d59fcfc99b5ed1b17b022491ad3 (patch) | |
tree | 45e373bcc555406acd6e2de40d950e93adfe854c /gtk/dlg_utils.c | |
parent | e4544c4f879702d579ae66e1d75151776d94e544 (diff) |
It *appears* that if you don't explicitly request that a file chooser
dialog be centered on its parent, it still gets so centered; we remove
the call to do so from the GTK+ >= 2.4 file selection dialog creation
code.
svn path=/trunk/; revision=10514
Diffstat (limited to 'gtk/dlg_utils.c')
-rw-r--r-- | gtk/dlg_utils.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/dlg_utils.c b/gtk/dlg_utils.c index d820e98710..e7860160db 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.25 2004/03/29 23:03:01 guy Exp $ + * $Id: dlg_utils.c,v 1.26 2004/03/29 23:14:43 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -352,7 +352,6 @@ file_selection_new(const gchar *title, file_selection_action_t action) ok_button_text, GTK_RESPONSE_ACCEPT, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, NULL); - gtk_window_set_position(GTK_WINDOW(win), GTK_WIN_POS_CENTER_ON_PARENT); return win; } #else |