GNOME Bugzilla – Bug 564854
Allow the custom widget in print dialog to actualize itself according to printer change
Last modified: 2009-06-16 18:49:06 UTC
There is no way to actualize custom widget in GtkPrintUnixDialog when the selected printer has changed.
There should be a signal which brings at least GtkPageSetup and GtkPrintSettings with itself.
I'll upload patch soon.
Created attachment 124861 [details] [review]
This patch adds "update-custom-widget" signal, which brings actual page setup and print settings with itself.
I don't think you need the "printer-changed" signal on GtkPrintUnixDialog, it should be enough to fix the selected-printer property by actually notifying when it changes (same place as your emit), and then you can connect to notify:: for it.
I think Christian is right, we can do without ::printer-changed
Created attachment 131263 [details] [review]
I'm sorry for late response.
This patch uses notify:: signal.
That patch looks fine to me, please commit once we branch.
Please commit to master