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
This commit is contained in:
Guy Harris 2004-03-29 23:14:43 +00:00
parent e4544c4f87
commit 9348381d23
1 changed files with 1 additions and 2 deletions

View File

@ -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