summaryrefslogtreecommitdiff
path: root/baobab/src
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-10-09 15:15:46 +0300
committermonsta <[email protected]>2017-10-09 15:15:46 +0300
commitdc458f0998829d3c2401589e8654bc391273bc67 (patch)
treecae540a938d2128aaf9de644e71d55c33ac935c3 /baobab/src
parentce5fbc87e2f6280aecfea722ce1262acf479f459 (diff)
downloadmate-utils-dc458f0998829d3c2401589e8654bc391273bc67.tar.bz2
mate-utils-dc458f0998829d3c2401589e8654bc391273bc67.tar.xz
baobab: set transient parent for remote connect dialog
fixes yet another runtime warning
Diffstat (limited to 'baobab/src')
-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);