summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--baobab/src/baobab-remote-connect-dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/baobab/src/baobab-remote-connect-dialog.c b/baobab/src/baobab-remote-connect-dialog.c
index c535a851..a5b6d5e0 100644
--- a/baobab/src/baobab-remote-connect-dialog.c
+++ b/baobab/src/baobab-remote-connect-dialog.c
@@ -775,6 +775,8 @@ baobab_remote_connect_dialog_new (GtkWindow *window, GFile *location)
dialog = gtk_widget_new (BAOBAB_TYPE_REMOTE_CONNECT_DIALOG, NULL);
+ gtk_window_set_transient_for (GTK_WINDOW (dialog), window);
+
g_signal_connect (dialog, "response",
G_CALLBACK (response_callback),
window);