Comment 9 for bug 47889

Revision history for this message
Loïc d'Anterroches (diaeresis+bugs) wrote :

Here is a patch. The only thing to change is that after applying the patch against revision 2216 of the tree, you need to change line 179 to correctly iterate of the GList of children. I am not a gtk+ expert, I am using it only through pygtk.

This obviously needs testing as I was not able to do it.

Why the need to iterate over the children of the dialog? Because the buttons are added to the dialog at init time and are the same for all the dialogs using the NcbSelectionDialog. This means that you do not have an easy way to find the button like using a glad_xml_get_widget.