Bug 705714 - QIF Import - File selection pop-up is not on top during qif import

Use gtk_window_set_transient_for(), not gtk_window_set_keep_on_top().
The latter forces the window on top of *everything*, at least on the
Gnome WM and on MSWindows.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23527 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
John Ralls 2013-12-10 03:34:43 +00:00
parent c978ab68e4
commit 2f35bd3a91

View File

@ -3573,7 +3573,8 @@ gnc_ui_qif_import_assistant_make(QIFImportWindow *qif_win)
get_assistant_widgets(qif_win, builder);
/* Make this window stay on top */
gtk_window_set_keep_above (GTK_WINDOW(qif_win->window), TRUE);
gtk_window_set_transient_for (GTK_WINDOW (qif_win->window),
GTK_WINDOW (gnc_ui_get_toplevel ()));
/* Build the details of all GtkTreeView widgets. */
build_views(qif_win);