Comment 12 for bug 1315880

Revision history for this message
OmegaPhil (omegaphil) wrote :

I saw you on #xfce-dev about a month ago and you agreed with this, now I've finally got enough time together to fight menulibre I've just managed to change an alacarte-created menu item without breaking everything :)

Basically I've added categories to the model created in MenuEditor.py:get_treestore, and updated everything in the code that references the structure (the indicies are still all hardcoded unfortunately and are used in quite a few places it seems).

In XmlMenuElementTree.py I added model_to_xml_includes to add Include nodes based off a lack of categories present, which is called as part of model_to_xml_menus etc.

Moving an alacarte-made entry up and down, fiddling with the categories, adding and deleting a launcher works.