[pygtk] Error message

Packo packo at assamita.net
Wed Jun 25 23:30:45 WST 2008


Try to rename the Combo with "x:y" values to "x y" values, I think is a =

parse error in libglade.

PD: this is the second email I send, the first is lost, I think

Fr=E9d=E9ric escribi=F3:
> Le 25/6/2008, "BJ=F6rn Lindqvist" <bjourne en gmail.com> a =E9crit:
>
>   =

>> Here is the minimal glade file that reproduces your problem:
>>
>> <?xml version=3D"1.0" encoding=3D"UTF-8" standalone=3D"no"?>
>> <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
>> <glade-interface>
>>    <widget class=3D"GtkComboBox" id=3D"foo">
>>        <!-- <property name=3D"visible">True</property> -->
>>
>>        <property name=3D"items" translatable=3D"yes"
>> context=3D"yes">portrait</property>
>>        <property name=3D"active">0</property>
>>    </widget>
>> </glade-interface>
>>
>> It seems like this problem is very widespread, see:
>>
>> http://lists.ximian.com/pipermail/glade-users/2005-March/002467.html
>> http://lists.ximian.com/pipermail/glade-users/2007-May/003485.html
>> http://mail.gnome.org/archives/gtkmm-list/2008-February/msg00214.html
>> http://www.daa.com.au/pipermail/pygtk/2007-February/013511.html
>>
>> which all describes the same problem. The cause seem to be that the
>> "active" property is set before the "items" property. So
>> gtk_cell_view_set_displayed_row is called before the model is created
>> by setting the "items" property. Bug report:
>> http://bugzilla.gnome.org/show_bug.cgi?id=3D466715 The work around is to
>> manually remove the "active" property line from the .glade file.
>>     =

>
> Thank you very much!
> _______________________________________________
> pygtk mailing list   pygtk en daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
>
>   =


-- =

|Paco Moreno                         =

|web: http://www.assamita.net       =

|blog: http://blog.assamita.net
|correo: packo en assamita punto net =

|jabber: packo en assamita.net    =

|openwengo: wengo en assamita.net


------------ pr=F3xima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20080625/7ea7e59c/at=
tachment.htm


More information about the pygtk mailing list