Hi ~ I'm using a bonobo.ui widget in my application and I'm getting the following errors. The first lines of errors are just from the application startup, the second line of errors spew out whenever you type into the GtkHTML window. I'm wondering if this is a bug or just something I'm doing wrong or maybe its normal.
** (mainWindow.py:21170): WARNING **: `GtkTextSearchFlags' is not an enum type *** attempt to put segment in horiz list twice *** attempt to put segment in horiz list twice --- And Then --- (blogsxom:21170): GLib-GObject-CRITICAL **: file genums.c: line 358 (g_enum_get_value): assertion `G_IS_ENUM_CLASS (enum_class)' failed (blogsxom:21170): gtkhtml-WARNING **: Invalid GTK_TYPE_HTML_COMMAND enum value 7 Here's the relevant code from my app. gnome.init('py-gtkhtml','0.0.1') bonobo.activate () self.window = bonobo.ui.Window ('py-gtkhtml', '0.0.1') self.window.connect("delete_event", self.delete_event) self.window.connect("destroy", self.destroy) uic = self.window.get_ui_container () control=bonobo.ui.Widget ("OAFIID:GNOME_GtkHTML_Editor:3.1", uic.corba_objref()) control.show () self.box = gtk.VBox(gtk.FALSE,0) self.title_entry = gtk.Entry() self.title_box = gtk.HBox(gtk.FALSE,2) self.title_box.pack_start(gtk.Label("Title:"),gtk.FALSE,gtk. FALSE,0) self.title_box.pack_start(self.title_entry,gtk.TRUE,gtk.TRUE,0) self.post_button = gtk.Button("_Post Entry") self.action_box = gtk.HBox(gtk.FALSE,2) self.action_box.pack_end(self.post_button,gtk.FALSE,gtk.FALSE,2) self.box.pack_start(self.title_box,gtk.FALSE,gtk.FALSE,2) self.box.pack_start(control,gtk.TRUE, gtk.TRUE,2) self.box.pack_end(self.action_box,gtk.FALSE,gtk.FALSE,2) self.window.set_contents (self.box) _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/