GNOME Bugzilla – Bug 584000
Doesn't switch to selected page in GtkAssistant
Last modified: 2016-04-06 23:01:21 UTC
Using the current git master, open the wizard/wizard.ui file from gnome-bluetooth, and see that you can't edit the pages past the first one.
Good point, noting here that we should fix this a little like notebook, when a widget is selected in the inspector, then any parenting notebook makes sure its on the current page.
You can actually switch pages by using the back/forward buttons. But selecting a particular page doesn't switch to it. Hints on what to look at here?
Look at plugins/gtk+/glade-gtk.c:glade_gtk_notebook_post_create(); it watches project changes (in case of copy/paste) and watches selection changes in the project - if you select a widget that is child to the notebook, it will show the appropriate page. Adding similar code (or possibly sharing that code by casing the widget type GTK_IS_NOTEBOOK()/GTK_IS_ASSISTANT()) ... to glade_gtk_assistant_post_create() will fix it.
Any update on this ? This bug makes glade fairly confusing to handle GtkAssistants.
Tested on current master branch with the mentioned wizard.ui file, unable to reproduce. Seems to have been fixed in commit 787439b816f4cf79cfe45d81443338dc4a177644
Thanks for testing!