Commit e75b1809 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

set the file dialogs transient for the parent window (display or toolbox).

2005-05-18  Sven Neumann  <sven@gimp.org>

	* app/actions/file-commands.c (file_open_dialog_show): set the
	file dialogs transient for the parent window (display or toolbox).
parent f727e29b
2005-05-18 Sven Neumann <sven@gimp.org>
* app/actions/file-commands.c (file_open_dialog_show): set the
file dialogs transient for the parent window (display or toolbox).
2005-05-18 Sven Neumann <sven@gimp.org>
* app/core/gimpimage-snap.c: fix compilation on IRIX (bug #304685).
......
......@@ -407,6 +407,8 @@ file_open_dialog_show (GtkWidget *parent,
GIMP_FILE_DIALOG (dialog)->gimage = NULL;
}
gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (parent));
gtk_window_present (GTK_WINDOW (dialog));
}
}
......@@ -430,6 +432,9 @@ file_save_dialog_show (GimpImage *gimage,
if (dialog)
{
gtk_window_set_transient_for (GTK_WINDOW (dialog),
GTK_WINDOW (parent));
g_object_set_data_full (G_OBJECT (gimage),
"gimp-file-save-dialog", dialog,
(GDestroyNotify) gtk_widget_destroy);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment