269 |
lastcol = 18; |
lastcol = 18; |
270 |
remarksok = TRUE; |
remarksok = TRUE; |
271 |
} |
} |
272 |
|
|
273 |
|
if (lastcol == 0) |
274 |
|
{ |
275 |
|
update_statusbar (_("No columns selected, printing cancelled...")); |
276 |
|
gtk_widget_set_sensitive (mainwindow, 1); |
277 |
|
gtk_widget_destroy (gtk_widget_get_toplevel (GTK_WIDGET (button))); |
278 |
|
return; |
279 |
|
} |
280 |
|
|
281 |
/* save settings of the print dialog */ |
/* save settings of the print dialog */ |
282 |
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (printallradiobutton))) |
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (printallradiobutton))) |
283 |
preferences.printall = 0; |
preferences.printall = 0; |