On Mon, 2004-11-22 at 19:42 +0000, Beno�t Dejean wrote: > Le lundi 22 novembre 2004 � 01:02 +0000, Gustavo J. A. M. Carneiro a > �crit : > > * New module layout: > > - gnome.applet moved to gnome-python-extras and renamed as gnomeapplet > > - gnome.vfs was renamed as gnomevfs > > - gnome.canvas was renamed as gnomecanvas > > - gnomeprint* moved to gnome-python-extras > > - gtkhtml2 moved to gnome-python-extras > > - gnome.nautilus was removed > > why have you renamed the module name used for import ?
See my previous post: http://www.daa.com.au/pipermail/pygtk/2004-November/008993.html > would the old gnome.* be still available ? Yes, they work but give a deprecation warning. > > python -c 'import gnomevfs' is OK > > >>> import gnomevfs > >>> gnomevfs.async > <module 'gnome.vfs.async' (built-in)> > > Hum :) Yep, I have to fix the module name. This is 'unstable' for a reason. Thanks for testing! ;-) > > but > > python -c 'import gnome.vfs' > Traceback (most recent call last): > File "<string>", line 1, in ? > File > "/usr/local/gnome/lib/python2.3/site-packages/gtk-2.0/gnome/__init__.py", > line 13, in ? > from _gnome import * > ImportError: > /usr/local/gnome/lib/python2.3/site-packages/gtk-2.0/gnome/_gnome.so: > undefined symbol: gnome_program_init_paramv Again, thanks for testing! ;-) The problem here is that you don't have libgnome 2.8.x, which has the new required API. It's my fault too, I forgot to update the required version in configure.in. > > > btw, what the prefered way for user to import gnome modules : > - gnome.* > - gnome* Depends on the module. See the previous mail. > ? > > Thanks for your great work. Thanks :-) > -- Gustavo J. A. M. Carneiro <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> The universe is always one step beyond logic _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
