printing: Allow to change the "Print" label on button
TL;DR: I want something like PrintOperation.set_accept_label()
to change the label of the "Print" button.
This also needs a new option key in the print portal.
Reason
As discussed in the chat a while ago, I need a way to set up the image on the page for printing. EOG and Photos used the "custom tab" feature for that. My solution that also works with Flatpaks is the following:
- Normal print dialog to select the printer and all the settings
- After pressing the "Print" button, show a custom dialog (early test below) to do the layout things
- After pressing "Print" here, start the printing
Of course, in this case, the suggested action button in the print dialog should not be called "Print," but something custom.
Custom Tabs
Edited by Sophie Herold