[pygtk] How to use UIINFO_TOGGLEITEM

2000-02-21 Thread Juergen Ehrensberger
Hi all, in a GnomeApp I created menus including a UIINFO_TOGGLEITEM. However, the connected callback cannot determine the value of the toggle item, since it receives a GtkObject of type GtkCheckMenuItem instead of the GtkCheckMenuItem itself. Therefore the method call __getattr__("active") does n

[pygtk] Re: Small bug in GnomeIconSelection

2000-02-21 Thread Juergen Ehrensberger
Hi, after adding the missing return statement in GnomeIconSelection.get_icon (line 1045 in ui.py) the method works correctly if an icon has been selected. However, if nothing is selected it gives a segmentation fault. Cheers Juergen from gtk import * from gnome.ui impo

[pygtk] Small bug in GnomeIconSelection

2000-02-16 Thread Juergen Ehrensberger
Hi, when trying the class GnomeIconSelection we realized that the method get_icon does not return the filename of the selected icon since the return statement is missing. Cheers, Juergen -- _ / __ / /