[pygtk] Recent Manager on Windows
Gian Mario Tagliaretti
gianmt at gnome.org
Fri May 22 22:58:24 WST 2009
On Fri, May 22, 2009 at 4:10 PM, Alec Mills
<Alec.Mills a mdacorporation.com> wrote:
> Hi Gian,
Hi Alec,
> I've tried it with both of the available installers: 2.12.1-2 and 2.12.1-3.
>
> Just to be sure, I did a completely clean install of python on my system. I then installed python 2.6.2, the gtk+ all in one bundle, pycairo, pygobject and pygtk from the website. All the most recent versions and nothing else.
Yeah looks like the problem is now in the binary for python 2.6, for
2.5 works fine
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
>>> gtk.RecentManager()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'RecentManager'
>>>
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
>>> gtk.pygtk_version
(2, 12, 1)
>>> gtk.RecentManager()
<gtk.RecentManager object at 0xb9be68 (GtkRecentManager at 0xe25010)>
>>>
sorry about that, hopefully someone that knows how to compile things
on win32 will help us in building binaries for that platform.
cheers
--
Gian Mario Tagliaretti
GNOME Foundation member
gianmt a gnome.org
More information about the pygtk
mailing list