Commit bb4db7b69c8c34daaeaee330244e3fcae543fcf0
1 parent
6f3309d5
Exists in
master
and in
1 other branch
Fixing old FT dialog.
Showing
2 changed files
with
8 additions
and
2 deletions
Show diff stats
src/filetransfer/v3270ft.c
| ... | ... | @@ -355,10 +355,9 @@ static void v3270ft_init(v3270ft *dialog) { |
| 355 | 355 | GtkWidget * entry[G_N_ELEMENTS(label)]; |
| 356 | 356 | |
| 357 | 357 | // Initialize |
| 358 | - gtk_container_set_border_width(GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dialog))),18); | |
| 359 | 358 | gtk_window_set_title(GTK_WINDOW(dialog),_( "3270 File transfer")); |
| 360 | 359 | gtk_window_set_resizable(GTK_WINDOW(dialog),FALSE); |
| 361 | - gtk_container_set_border_width(GTK_CONTAINER(box),3); | |
| 360 | + gtk_container_set_border_width(GTK_CONTAINER(box),18); | |
| 362 | 361 | dialog->files = dialog->active = g_list_append(NULL,v3270ft_create_entry()); |
| 363 | 362 | |
| 364 | 363 | // Buttons | ... | ... |
src/testprogram/testprogram.c
| ... | ... | @@ -184,11 +184,18 @@ static void ft_clicked(GtkButton G_GNUC_UNUSED(*button), GtkWidget *terminal) |
| 184 | 184 | v3270_ft_activity_set_options(activity,LIB3270_FT_OPTION_RECEIVE|LIB3270_FT_OPTION_ASCII|LIB3270_FT_OPTION_REMAP); |
| 185 | 185 | */ |
| 186 | 186 | |
| 187 | + /* | |
| 187 | 188 | // |
| 188 | 189 | // Test settings dialog |
| 189 | 190 | // |
| 190 | 191 | GtkWidget * dialog = v3270_ft_settings_dialog_new(terminal); |
| 191 | 192 | // v3270_ft_settings_dialog_append_activity(dialog,activity,NULL); |
| 193 | + */ | |
| 194 | + | |
| 195 | + // | |
| 196 | + // V5.1 dialog | |
| 197 | + // | |
| 198 | + GtkWidget *dialog = v3270ft_new(); | |
| 192 | 199 | |
| 193 | 200 | /* |
| 194 | 201 | // | ... | ... |