DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=O1jlNscSJyUFL5l/06Nq6vTwosGHuUzjUyHQ5xZCmcKxsOUkJ2xA+fjPW1GKaKKr6Z62c8IrOaghxfxlRd3P03vSYPAwAeG7HvhyUEMiozKv2aJt3eVGQPCeA+v5qwtWGNFmXF0/5g72s+Yq7ewP+oH7ehlxMhTwBxSw1QQguM8= Message-ID: Date: Fri, 30 Dec 2005 15:16:41 +0100 From: Maurizio Colucci To: lablgtk at math.nagoya-u.ac.jp Subject: bug in GEdit.combo_box_text? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit I can't seem to set the default entry in a combo box: the following code let surfOptMenu = GEdit.combo_box_text ~strings:["Cement"; "Clay"; "Grass"] ~packing:(mainGrid#attach ~left:1 ~top:0) ~active:0 () in gives the following output: (freetennis:15185): Gtk-CRITICAL **: gtk_tree_row_reference_new: assertion `GTK_IS_TREE_MODEL (model)' failed (freetennis:15185): Gtk-CRITICAL **: gtk_cell_view_set_displayed_row: assertion `GTK_IS_TREE_MODEL (cell_view->priv->model)' and the combo box appears empty. Any ideas for a workaround? I am using lablgtk2 as in Ubuntu Breezy (version 2.4.0+2005.06.13-1build1). Thank you very much, Maurizio