[pygtk] Bugs in GnomeMDIGenericChild

2000-02-21 Thread Frederic Gobry
Hi, I've noticed some bugs in gnomeuimodule.c, line 966 and following: there are a series of calls to gnome functions with GNOME_MDI_GENERIC_CHILD(mdi) as argument, instead of GNOME_MDI_GENERIC_CHILD(PyGtk_Get (mdi)). Frédéric To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

[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

[pygtk] Bug in GtkRet_FromPyObject

2000-02-21 Thread Frederic Gobry
I'm continuing my investigations on MDI ;-) In gtkmodule.c, line 3041, isn't there a break missing ? Frédéric PS : I've write access to the Gnome CVS. Is it ok to fix these kind of bugs without warning ? To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

[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

[pygtk] A last one on MDI

2000-02-21 Thread Frederic Gobry
Invoking a menu callback causes an Illegal instruction failure, or at least in the code attached to this mail. Am I doing something wrong ? Frédéric from gnome.ui import * from gtk import * mdi = GnomeMDI ('test', 'test') mdi.connect ('destroy', mainquit) mdi.set_menubar_template ([

[pygtk] Sure looks like a bug in gnome.config

2000-02-21 Thread Randolph Fritz
Looks like _gnome.gnome_config_private_list_section was changed to _gnome.gnome_config_private_section_contents, but gnome/config.py wasn't updated to match. Context diff included. Randolph Fritz Eugene, Oregon, USA *** /home/randolph/Install/gnome-python-1.0.51/pygnome/gnome/config.py Wed

[pygtk] Archives not being updated?

2000-02-21 Thread Michael McLay
It looks like the email archives for the pygtk list stopped being updated on 2000/02/10. http://www.mail-archive.com/pygtk@daa.com.au/maillist.html To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

[pygtk] ignore - Archives not being updated

2000-02-21 Thread Michael McLay
Michael McLay writes: It looks like the email archives for the pygtk list stopped being updated on 2000/02/10. Looks like it is a problem with the http://www.mail-archive.com/ service. They had a system crash and they are running in degradation mode. To unsubscribe: echo "unsubscribe"

[pygtk] Bindings for GtkExtra

2000-02-21 Thread Andreas Voegele
I'm currently writing Python bindings for the GtkExtra widget set which is available at http://magnet.fsu.edu/~feiguin/gtk/. Most of the work is done but I have two questions. 1. The C header file is called gtkextra.h therefore I called the Python module gtkextra.py. On non-posix systems this