Commit e5b11a32e1d13da21f35d288e7adbccba6572414

Authored by Perry Werneck
1 parent 8a9e10e9
Exists in master and in 1 other branch develop

"keep-alive" is a network setting, then, it should be in the connection

dialog.
Showing 1 changed file with 13 additions and 8 deletions   Show diff stats
src/dialogs/hostselect.c
@@ -51,14 +51,19 @@ @@ -51,14 +51,19 @@
51 toggleList[] = 51 toggleList[] =
52 { 52 {
53 { 53 {
54 - .left = 3,  
55 - .top = 1, 54 + .left = 2,
  55 + .top = 2,
56 .id = LIB3270_TOGGLE_CONNECT_ON_STARTUP, 56 .id = LIB3270_TOGGLE_CONNECT_ON_STARTUP,
57 }, 57 },
58 { 58 {
59 - .left = 4,  
60 - .top = 1, 59 + .left = 3,
  60 + .top = 2,
61 .id = LIB3270_TOGGLE_RECONNECT, 61 .id = LIB3270_TOGGLE_RECONNECT,
  62 + },
  63 + {
  64 + .left = 4,
  65 + .top = 2,
  66 + .id = LIB3270_TOGGLE_KEEP_ALIVE,
62 } 67 }
63 68
64 }; 69 };
@@ -232,9 +237,9 @@ @@ -232,9 +237,9 @@
232 }, 237 },
233 238
234 { 239 {
235 - .left = 0,  
236 - .top = 2,  
237 - .width = 4, 240 + .left = 2,
  241 + .top = 1,
  242 + .width = 2,
238 .height = 1, 243 .height = 1,
239 244
240 .label = N_( "L_U Names" ), 245 .label = N_( "L_U Names" ),
@@ -466,7 +471,7 @@ static void V3270HostSelectWidget_init(V3270HostSelectWidget *widget) @@ -466,7 +471,7 @@ static void V3270HostSelectWidget_init(V3270HostSelectWidget *widget)
466 widget->input.ssl = GTK_TOGGLE_BUTTON(gtk_check_button_new_with_mnemonic(_( "_Secure connection." ))); 471 widget->input.ssl = GTK_TOGGLE_BUTTON(gtk_check_button_new_with_mnemonic(_( "_Secure connection." )));
467 gtk_widget_set_tooltip_text(GTK_WIDGET(widget->input.ssl),_( "Check for SSL secure connection." )); 472 gtk_widget_set_tooltip_text(GTK_WIDGET(widget->input.ssl),_( "Check for SSL secure connection." ));
468 gtk_widget_set_halign(GTK_WIDGET(widget->input.ssl),GTK_ALIGN_START); 473 gtk_widget_set_halign(GTK_WIDGET(widget->input.ssl),GTK_ALIGN_START);
469 - gtk_grid_attach(GTK_GRID(connection),GTK_WIDGET(widget->input.ssl),2,1,1,1); 474 + gtk_grid_attach(GTK_GRID(connection),GTK_WIDGET(widget->input.ssl),1,2,1,1);
470 } 475 }
471 476
472 // Toggle checkboxes 477 // Toggle checkboxes