Comment 0 for bug 1026791

Revision history for this message
Roquentin (antonio-roquentin-deactivatedaccount) wrote : Cannot reorder menu items

Once the menu is with set_menu(), it is not possible to reorder the menu entries in the indicator applet. That is, calling the menu.reorder_child() method changes the order of the children in the menu instance, but this doesn't reflect in the order of the entries shown by the applet.

I attach a script that illustrates the problem. The menu entries are first filled as 0, 1, 2. Calling reorder_child() should swap 0 and 2. Actual result: the items' order in the indicator applet is unchanged.

I am on ubuntu 12.04.