[pygtk] Can't use FileChooserButton

Sébastien Aubry aubry at cena.fr
Sun Apr 2 04:04:57 WST 2006


Gian Mario Tagliaretti a écrit :
> 2006/3/31, Sebastien Aubry <aubry at cena.fr>:
>   
>> I am having problems using the FileChooserButton widget with PyGtk 2.6.1 :
>>
>>  >>> import gtk
>>  >>> filechooserbutton = gtk.FileChooserButton('Select a File')
>>
>> (.:10483): Pango-WARNING **: Invalid UTF-8 string passed to
>> pango_layout_set_text()
>>     
>
> which version of gtk+ and pango are you running?
> I don't have any problem with:
>
> [ebuild   R   ] x11-libs/gtk+-2.8.13
> [ebuild   R   ] dev-python/pygtk-2.8.4
> [ebuild   R   ] x11-libs/pango-1.10.4
>
> can you upgrade?
Hi,

I am using Linux Debian stable (Sarge), and cannot upgrade the packages.

libgtk2.0-0 : 2.6.4
python-gtk2 : 2.6.1
libpango1.0-0 : 1.8.1

However, if I cannot make the FileChooserButton widget work, I will use 
a classic FileChooser with a "Browse" button, I hope this will work!

Thanks

Sébastien Aubry
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? enlev?e...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20060401/f6ae49c6/attachment.htm


More information about the pygtk mailing list