Included here is a patch to GNOME Panel which creates an infrastructure for detecting when applets are added and removed from the panel. The menus object then attaches to the signal handler to detect when the FUSA applet is added or removed and hides the menu items for lock screen, logout and shutdown. It also includes some utility functions for dealing with IIDs in a clean fashion.
I think that this address the concerns of several posters in this bug in that if the applet is not present the items will be reshown as soon as the applet is removed. Attached is a debdiff between the latest in Intrepid, 0ubuntu9 and 0ubuntu10. It includes mostly a new patch which is probably more easily examined in Bazaar: bzr diff -p1 -r ancestor:lp:gnome-panel lp:~ted-gould/gnome-panel/dynamic-menu/ Also, you can try the package out by installing gnome-panel_2.24.0-0ubuntu10 from my PPA: http://launchpad.net/~ted-gould/+archive Also attached is a diffstat on the debdiff and the patch itself. ** Attachment added: "9to10.debdiff" http://launchpadlibrarian.net/18783047/9to10.debdiff ** Attachment added: "9to10.debdiff.diffstat" http://launchpadlibrarian.net/18783048/9to10.debdiff.diffstat ** Attachment added: "25_dynamic_fusa_detection.patch.diffstat" http://launchpadlibrarian.net/18783049/25_dynamic_fusa_detection.patch.diffstat -- When FUSA applet has shutdown/logout items are duplicated in "System" menu https://bugs.launchpad.net/bugs/283278 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-panel in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs