[pygtk] example - fetching icon from gnome theme

2003-08-22 Thread Don Allingham
This is derived from some code I wrote for GRAMPS. It attempts to find the icon associated with a type within the specified theme. _nautdir = "/usr/share/pixmaps/nautilus" _pixdir = "/usr/share/pixmaps" import gconf import os def nautilus_icon(theme,t

[pygtk] ANNOUNCE: PyGtkGLExt 0.99.1 released

2003-08-22 Thread Naofumi Yasufuku
Hi PyGTK list members, PyGtkGLExt version 0.99.1 has been released. http://sourceforge.net/projects/gtkglext/ PyGtkGLExt is Python language binding for GtkGLExt, OpenGL Extension to GTK. This is a release candidate for PyGtkGLExt 1.0.0. 1.0.0 will be released after PyGTK-2.0.0 release. Enhan

Re: [pygtk] Using Accessibility interface from PyORBit?

2003-08-22 Thread Tessa Lau
> The Accessible.EventListener interface derives from the Bonobo.Unknown > interface, which has a ref operation. Thanks. I thought that by subclassing Accessibility__POA.EventListener, which extends the Bonobo::Unknown interface, it would be taken care of for me. Do I have to implement ref/unre

Re: [pygtk] Using Accessibility interface from PyORBit?

2003-08-22 Thread James Henstridge
On 22/08/03 21:00, Tessa Lau wrote: Is it possible that you are running into this problem? http://bugzilla.gnome.org/show_bug.cgi?id=118990 Upgrading to pyorbit from CVS does fix the segfault, but it doesn't fix the problem. I still get a CORBA.NO_IMPLEMENT exception when I try to call reg

Re: [pygtk] Using Accessibility interface from PyORBit?

2003-08-22 Thread Tessa Lau
> Is it possible that you are running into this problem? >http://bugzilla.gnome.org/show_bug.cgi?id=118990 Upgrading to pyorbit from CVS does fix the segfault, but it doesn't fix the problem. I still get a CORBA.NO_IMPLEMENT exception when I try to call registerGlobalEventListener on the Acce

Re: [pygtk] Embedding a widget in a CellRenderer

2003-08-22 Thread Nicholas Wieland
On Fri, Aug 22, 2003 at 10:25:34AM +0200, Lorenzo Gil Sanchez wrote: > El vie, 22-08-2003 a las 09:43, David M. Cook escribió: > > Sounds like it should be a FAQ. Do you have a link to the enlightening > > post? > > > I think he means this post > http://www.daa.com.au/pipermail/pygtk/2003-July/00

[pygtk] Memory leak with gdk-pixbuf

2003-08-22 Thread David Braaten
Yes, please enter a bug for this memory leak. I also experience it using: pygtk 1.99.17 gdk-pixbuf 0.22.0 In my program, I experience memory growth like this: using gtk.gdk.pixbuf_new_from_file, then scale_simple: after loading first image: Total:147MB, RSS:17.7MB, Shared:7.2MB after loading fifty

Re: [pygtk] fetching icon from gnome theme

2003-08-22 Thread Erik Grinaker
On Fri, 2003-08-22 at 10:38, Jan Weil wrote: > http://ftp.gnome.org/pub/GNOME/desktop/2.2/2.2.2/sources/gnome-icon-theme-1.0.6.tar.bz2 > > Erik Grinaker wrote: > > Can someone please tell me how I can get an icon from the current > > GNOME theme, > > specifically the default folder icon? Thanks,

Re: [pygtk] fetching icon from gnome theme

2003-08-22 Thread Jan Weil
http://ftp.gnome.org/pub/GNOME/desktop/2.2/2.2.2/sources/gnome-icon-theme-1.0.6.tar.bz2 Erik Grinaker wrote: > Can someone please tell me how I can get an icon from the current > GNOME theme, > specifically the default folder icon? > > I've been googling for a while, with no luck, and I can't seen

Re: [pygtk] Embedding a widget in a CellRenderer

2003-08-22 Thread Lorenzo Gil Sanchez
El vie, 22-08-2003 a las 09:43, David M. Cook escribió: > On Fri, Aug 22, 2003 at 03:57:41AM +0200, Nicholas Wieland wrote: > > > Ehm ... I've posted this request after having read 99% of the mailing list > > archives, now I've found the answer in the last 1% ... > > Sorry for that, and thanks to

Re: [pygtk] Embedding a widget in a CellRenderer

2003-08-22 Thread David M. Cook
On Fri, Aug 22, 2003 at 03:57:41AM +0200, Nicholas Wieland wrote: > Ehm ... I've posted this request after having read 99% of the mailing list > archives, now I've found the answer in the last 1% ... > Sorry for that, and thanks to Lorenzo Gil Sanchez ... Sounds like it should be a FAQ. Do you h