From 012f1a9688b895177a9e88f4eec641fa661d1ccd Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Thu, 19 May 2022 16:59:08 -0300 Subject: [PATCH] Attaching save session preferences dialog to the same window of the terminal widget. --- src/objects/actions/save.c | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/src/objects/actions/save.c b/src/objects/actions/save.c index b951cdf..7546094 100644 --- a/src/objects/actions/save.c +++ b/src/objects/actions/save.c @@ -94,6 +94,7 @@ GtkWidget * factory(V3270SimpleAction *action, GtkWidget *terminal) { )); + gtk_window_set_transient_for(GTK_WINDOW(dialog),GTK_WINDOW(gtk_widget_get_toplevel(terminal))); gtk_window_set_modal(GTK_WINDOW(dialog),TRUE); gtk_window_set_title(GTK_WINDOW(dialog),action->label); -- libgit2 0.21.2