summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Riemann <[email protected]>2017-04-27 00:09:57 +0200
committerraveit65 <[email protected]>2017-05-06 16:43:15 +0200
commit38f3fffb0eddf262312cb7400d9d432ba10f3cac (patch)
tree09745a558e0399169c12fb53cf36231334506fb1 /src
parentc4bc5fead8311bdfeead65153e89495ca3ec5cd9 (diff)
downloadeom-38f3fffb0eddf262312cb7400d9d432ba10f3cac.tar.bz2
eom-38f3fffb0eddf262312cb7400d9d432ba10f3cac.tar.xz
EomWindow: Set file open dialog transient for its parent window
taken from: https://git.gnome.org/browse/eog/commit/?id=a54b3a8
Diffstat (limited to 'src')
-rw-r--r--src/eom-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eom-window.c b/src/eom-window.c
index 790a559..5933648 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -2209,6 +2209,7 @@ eom_window_cmd_file_open (GtkAction *action, gpointer user_data)
priv = window->priv;
dlg = eom_file_chooser_new (GTK_FILE_CHOOSER_ACTION_OPEN);
+ gtk_window_set_transient_for (GTK_WINDOW (dlg), GTK_WINDOW (window));
current = eom_thumb_view_get_first_selected_image (EOM_THUMB_VIEW (priv->thumbview));