]
Eric Williams resolved ERT-753.
-------------------------------
Resolution: Done
[GTK] Make "Print Selection" work [EBZ#299550]
----------------------------------------------
Key: ERT-753
URL:
https://issues.jboss.org/browse/ERT-753
Project: Eclipse Release Train
Issue Type: Task
Components: Platform
Reporter: Friendly Jira Robot
Assignee: Eric Williams
Priority: Major
Labels: 4.14_M1, SWT, bzira
Since gtk bug
http://bugzilla.gnome.org/show_bug.cgi?id=344519
has now been fixed, we should use this feature in the GTK print dialog.
We need to show the "Selection" radio by default when the dialog is opened, and
then we need to set and get the value of the radio before and after the PrintDialog is
opened.
I believe the new radio will show up if you set
gtk_print_unix_dialog_set_support_selection(true)
Then, if the scope in our PrinterData is set to PrinterData.SELECTION, we need to set
(and get) GTK_PRINT_PAGES_SELECTION in the gtk_print_settings_print_pages field of the
gtk_print_settings struct.