GNOME Bugzilla – Bug 589745
Apply message in GtkAssistant
Last modified: 2009-08-07 03:54:49 UTC
Hi, I open this bug after having asking for the problem in the Gtk+ mailing list [1]. Given a GtkAssistant with a confirm page (with its Apply button), and a summary page (with its Close button). When the Apply button is clicked in the confirm page, it appears that the next page is computed, and so the 'prepare' message is sent, _before_ the 'apply' message is itself emitted. To be able to display the results of the operation in the summary page, one has so to do the work at the very beginning of the prepare handler. And then handling the apply message becomes useless. IMHO, the usual programmer does want 'apply' its operations before 'preparing' the display of the summary page. I suggest to invert the order in which the apply message is emitted and the next page is computed. Regards Pierre [1] http://mail.gnome.org/archives/gtk-app-devel-list/2009-July/msg00069.html
Created attachment 139224 [details] [review] A patch against 2.16.6 Joined is a simple patch against 2.16.6 which should do the trick: just emit the Apply signal _before_ computing the next step.
Makes sense.