[Glade-users] Problem with ComboBox



Hi,

I encountered the same problem just few days before. I'm using Glade3-win32.
Don't use Glade to set the default item of Combobox. It's a bug as far as I know.
Use "hard code" instead.
    gtk_combo_box_set_active(GTK_COMBO_BOX(cmb1), 0);

Hope it helps.

Regards,
Frank



 

-----Original Message-----
From: glade-users-bounces at lists.ximian.com [mailto:glade-users-bounces at lists.ximian.com] On Behalf Of 
Marco T?lio Gontijo e Silva
Sent: Wednesday, June 25, 2008 6:02 AM
To: glade-users at ximian.com
Subject: [Glade-users] Problem with ComboBox

Hello there.

I don't know if this is a known issue, but it seems strange to me that when I change the Active item value in 
the proprierties of a Combo Box in Glade 3, from -1 to any value, like 0 or 1, I have this message as soon as 
the glade file is loaded:

(test:5012): Gtk-CRITICAL **: gtk_tree_row_reference_new: assertion `GTK_IS_TREE_MODEL (model)' failed
(test:5012): Gtk-CRITICAL **: gtk_cell_view_set_displayed_row: assertion `GTK_IS_TREE_MODEL 
(cell_view->priv->model)' failed

And besides it, the Active Item keeps empty, and is not the first or second on the item list.

I'm using Glade-3 3.4.5 with libglade 2.6.2 in debian lenny.

The glade file is in: http://marcotmarcot.googlepages.com/sound.glade .

Please CC any answer about this to me.

Thanks.

--
Marco T?lio Gontijo e Silva
P?gina: http://marcotmarcot.googlepages.com/
Blog: http://marcotmarcot.wordpress.com/
Correio: marcot at riseup.net
XMPP: marcot at jabber.org
IRC: marcot at irc.freenode.net
Telefone: 25151920
Celular: 98116720
Endere?o:
 Rua Turfa, 639/701
 Prado 30410-370
 Belo Horizonte/MG Brasil


_______________________________________________
Glade-users maillist  -  Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]