Comment 0 for bug 1279186

Revision history for this message
ITPROJECTS (itprojects) wrote :

At the moment there is a bug in the appmenu indicator, because it sorts (and wrongly so) the actual indicator menus.

Image of the buggy behaviour:

http://s12.postimg.org/4i7jtb0m5/buggy_image.png

Image of the fixed behaviour:

http://s18.postimg.org/c6pa1lkih/fixed_image.png

A fix is posssible by slightly changing PrimaryWindow.vala:

        private void create_entry (IndicatorWidget entry)
        {
            if (entry.get_indicator ().get_name () == "libdatetime.so")
            {
                clock_menubar.prepend (entry);
            }

            else if (entry.get_indicator ().get_name () == "libappmenu.so")
            {
//FIXES APPMENU TO LOOK GREAT,BUT NOT IN REVERSE
                apps_menubar.append (entry);
            }

            else
            {
                indicator_menubar.insert_sorted (entry);
            }
        }