fix updates in the app menu from the linkbase.
authorDana Jansens <danakj@orodu.net>
Wed, 9 Mar 2011 18:49:11 +0000 (13:49 -0500)
committerDana Jansens <danakj@orodu.net>
Sun, 16 Oct 2011 22:54:05 +0000 (18:54 -0400)
commitc6e2fec8721560b993077a3bbcbe7df41ae09577
tree021d91b40a515b3400c1456b783f04edb1c1cbaf
parent62e04a10249a56504a908b88838c976ea547bf15
fix updates in the app menu from the linkbase.

it did not remove things correctly if the linkbase removed something while the
  menu was not shown.
it sorted the wrong list.
basically it was buggy. tested now with a duplicate .desktop id in 2 places,
  and the menu shows only one copy. updating it while the menu is not shown
  correctly updates the menu.  updating it while the menu is shown also
  correclty updates the menu.
openbox/apps_menu.c