2014-02-12 07:45:54 |
ITPROJECTS |
description |
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);
}
} |
At the moment there is a bug in the super-wingpanel, because it wrongly sorts in reverse the appmenu-indicator application's menus (Files,Edit,Help).
Wrong way - Help,Edit,Files;
Right way - Files,Edit,Help;
Fix is attached.
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);
}
} |
|