summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Riemann <[email protected]>2017-04-27 00:09:57 +0200
committerraveit65 <[email protected]>2017-05-06 16:43:48 +0200
commit45a3727d7e29f722727c19b39e76efe6c7b17755 (patch)
tree74ba8950cfc09c7fcaed4be3000c850bbb770d89
parent28d48f9a4f7596e949286339549bd4e42dea6d21 (diff)
downloadeom-45a3727d7e29f722727c19b39e76efe6c7b17755.tar.bz2
eom-45a3727d7e29f722727c19b39e76efe6c7b17755.tar.xz
EomWindow: Set file open dialog transient for its parent window
taken from: https://git.gnome.org/browse/eog/commit/?id=a54b3a8
-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 4c03a22..df9dc61 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));