comparison src/print.c @ 1729:672ee190869e

improved printing of selection
author nadvornik
date Fri, 28 Aug 2009 21:01:29 +0000
parents 25bed5b179be
children f0391a1bf413
comparison
equal deleted inserted replaced
1728:94ced97edf0b 1729:672ee190869e
3354 GtkWidget *table; 3354 GtkWidget *table;
3355 3355
3356 pw = g_new0(PrintWindow, 1); 3356 pw = g_new0(PrintWindow, 1);
3357 3357
3358 pw->source_fd = file_data_ref(fd); 3358 pw->source_fd = file_data_ref(fd);
3359 pw->source_selection = selection; 3359 pw->source_selection = file_data_process_groups_in_selection(selection, FALSE, NULL);
3360 pw->source_list = list; 3360 pw->source_list = list;
3361 3361
3362 pw->source = print_pref_int(PRINT_PREF_SOURCE, PRINT_SOURCE_SELECTION); 3362 pw->source = print_pref_int(PRINT_PREF_SOURCE, PRINT_SOURCE_SELECTION);
3363 pw->layout = print_pref_int(PRINT_PREF_LAYOUT, PRINT_LAYOUT_IMAGE); 3363 pw->layout = print_pref_int(PRINT_PREF_LAYOUT, PRINT_LAYOUT_IMAGE);
3364 3364