From b9f8510eaa7cfd805c180dca475c5b8da89124f5 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Mon, 25 Nov 2019 18:17:46 -0300 Subject: [PATCH] Saving settings in the dialog is no more necessary; the v3270 widget fires a "save-settings" signal. --- src/pw3270/hostdialog.c | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/src/pw3270/hostdialog.c b/src/pw3270/hostdialog.c index 9360a4a..9c3bd9e 100644 --- a/src/pw3270/hostdialog.c +++ b/src/pw3270/hostdialog.c @@ -46,6 +46,10 @@ v3270_select_host(widget); + /* + + No needed! The dialog fires a "save-settings" signal. + set_string_to_config("terminal","oversize",pw3270_get_oversize(gtk_widget_get_toplevel(widget))); set_integer_to_config("terminal","model_number",lib3270_get_model_number(hSession)); set_string_to_config("terminal","model_name","%s",lib3270_get_model_name(hSession)); @@ -56,6 +60,7 @@ g_autofree gchar * lunames = v3270_get_lunames(widget); set_string_to_config("terminal","lu_names",lunames); } + */ } -- libgit2 0.21.2