Comment 0 for bug 785852

Revision history for this message
Juho Vuori (juho-vuori) wrote :

Binary package hint: indicator-application

gtk_menu_reorder_child does nothing on menus managed by application indicator. This is further demonstrated by the two attached C++ programs. Both create a window and a application indicator menu with two items in it and reorder the items. The other attaches the menu to the application indicator icon and the other to a widget on screen. In the first case, the menu gets wrongly rendered in the original ordering. In the second case, the menu gets properly rendered with the two items reordered.

The programs compile on ubuntu 11.04 with some necessary development packages installed:

g++ `pkg-config gtkmm-2.4 appindicator-0.1 --cflags --libs` -o bugtest bugtest.cpp
g++ `pkg-config gtkmm-2.4 appindicator-0.1 --cflags --libs` -o bugtest2 bugtest2.cpp