17 Jun 2002 andersca   » (Master)

Sucky APIs

To add a menu item on-the-fly in bonobo-ui you apparently need to do something like

	xml_item = g_strdup_printf ("<menuitem name=\"%u\" id=\"%s\"
type=\"radio\" group=\"%s\"/>\n", index, command_name,
VIEW_GROUP);

bonobo_ui_component_set (ui, VIEW_PATH, xml_item, NULL);

Ugh

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!