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édéric escribió:
Le 25/6/2008, "BJörn Lindqvist" <[EMAIL PROTECTED]> a écrit:
Here is the minimal glade file that reproduces your problem:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
<glade-interface>
<widget class="GtkComboBox" id="foo">
<!-- <property name="visible">True</property> -->
<property name="items" translatable="yes"
context="yes">portrait</property>
<property name="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=466715 The work around is to
manually remove the "active" property line from the .glade file.
Thank you very much!
_______________________________________________
pygtk mailing list [email protected]
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: [EMAIL PROTECTED]
|openwengo: [EMAIL PROTECTED]
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/