Commit 3d6e3a1fbb21d1fd8055203e467d8de8e9f73472

Authored by Perry Werneck
1 parent 843162a9
Exists in master and in 1 other branch develop

Adjustments in the V5.1 ft dialog.

src/filetransfer/v3270ft.c
... ... @@ -607,6 +607,7 @@ static void v3270ft_init(v3270ft *dialog) {
607 607 g_object_set(G_OBJECT(widget),"margin-top",18,NULL);
608 608  
609 609 grid = v3270ft_new_grid();
  610 + gtk_container_set_border_width(GTK_CONTAINER(grid),6);
610 611 gtk_grid_set_column_homogeneous(grid,TRUE);
611 612 gtk_container_add(GTK_CONTAINER(widget),GTK_WIDGET(grid));
612 613 gtk_box_pack_start(box,widget,FALSE,TRUE,2);
... ... @@ -632,6 +633,7 @@ static void v3270ft_init(v3270ft *dialog) {
632 633 GtkBox * box = GTK_BOX(gtk_box_new(GTK_ORIENTATION_HORIZONTAL,2));
633 634 GSList * group = NULL;
634 635  
  636 + gtk_container_set_border_width(GTK_CONTAINER(box),6);
635 637 dialog->radio[f] = gtk_frame_new(gettext(frame[f+1]));
636 638  
637 639 gtk_container_add(GTK_CONTAINER(dialog->radio[f]),GTK_WIDGET(box));
... ...
src/testprogram/testprogram.c
... ... @@ -156,6 +156,7 @@ static void ft_clicked(GtkButton G_GNUC_UNUSED(*button), GtkWidget *terminal)
156 156 gtk_box_pack_start(GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog))),trace,TRUE,TRUE,2);
157 157 */
158 158  
  159 +
159 160 /*
160 161 //
161 162 // Test transfer dialog.
... ... @@ -187,13 +188,13 @@ static void ft_clicked(GtkButton G_GNUC_UNUSED(*button), GtkWidget *terminal)
187 188 //
188 189 // Test settings dialog
189 190 //
190   - GtkWidget * dialog = v3270_ft_settings_dialog_new(terminal);
  191 + // GtkWidget * dialog = v3270_ft_settings_dialog_new(terminal);
191 192 // v3270_ft_settings_dialog_append_activity(dialog,activity,NULL);
192 193  
193 194 //
194 195 // V5.1 dialog
195 196 //
196   - //GtkWidget *dialog = v3270ft_new();
  197 + GtkWidget *dialog = v3270ft_new();
197 198  
198 199 /*
199 200 //
... ...