GNOME Bugzilla – Bug 604289
Please permit progress pages to be final in a dialog
Last modified: 2009-12-10 21:38:19 UTC
Created attachment 149529 [details] Imaginary Progress Page I'd like to have an assistant like this (listing page types): * CONTENT * CONTENT * CONFIRM * PROGRESS I tried to workaround with using a SUMMARY instead of the PROGRESS page to satisfy GtkAssistant's requirement of having CONFIRM or SUMMARY as the last page. When I did that, I realized that I cannot simply make the close button insensitive by using gtk_assistant_set_page_complete(). I'd really like to having having an extra page along the lines of "as you could see on the last page, we're done, please click one more time". IMHO, GTK+ should let me provide such an assistant workflow. I'm coming up with a patch that makes the close button insensitive for SUMMARY when the page is not done (and that turns on page-complete when adding a summary page).
Created attachment 149533 [details] [review] Proposed patch
Forget the patch, I'll come up with a working one.
Created attachment 149534 [details] [review] Proposed patch v2 This patch actually works (and has modifications to a manual test case to verify the changes).
The only construct that now breaks is this: gtk_assistant_append_page() gtk_assistant_set_page_complete(FALSE) gtk_assistant_set_page_type(SUMMARY) Is that save enough?
Comment on attachment 149534 [details] [review] Proposed patch v2 Looks ok to me
Committed: http://git.gnome.org/cgit/gtk+/commit/?id=70440523e3d92fd6e1a228c176e4e700012b4ba0