I've got the following problem: I've set up a menu for a panel applet with the typical applet.setup_menu(xml1, actions1).
After a while I try to remove some of the menu items with another applet.setup_menu(xml2, actions2) call. xml2 is otherwise similar to xml1, but some menu items are omitted. The problem is, that for some reason, the menu items set up with the first call won't disappear with the second call. So once I've set up a menu item, it seems to stick there until the applet is destroyed. I can change the menu items by defining menu items with similar names in xml2, but the omitted menu items do not disappear. Is there a way to destroy a menu item from applets menu? Did I understand the semantics of setup_menu correctly? setup_menu and related issues seem to be quite badly documented compared to rest of python gnome API. Is this maybe a bug in pygtk? Strictly speaking this is probably not a pygtk issue, but has to do with other parts of python gnome API. I didn't find a better list to post this on, please tell me if I should be somewhere else. :) Juho Vuori _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
