Digging around the code a bit, it seems the problem is that we aren't reading the enabled status from the gmenumodel in menumodel-collector.c.
I have no idea if this is possible (should be easy, right? but can't find a simple "enabled" attribute or anything obvious like that). The rest of the codebase understands the idea of enabled and disabled HUD items, so if we read and track the enabled status of the gmenumodel item, that should be it. -- You received this bug notification because you are a member of Unity API bugs, which is subscribed to hud in Ubuntu. https://bugs.launchpad.net/bugs/1192646 Title: shouldn't list inactive items Status in Unity HUD: Confirmed Status in Unity HUD 13.10 series: Confirmed Status in “hud” package in Ubuntu: Confirmed Bug description: That's happening with the current hud in saucy: - start gedit - open the hud - look for "undo" It lists the "undo" item from the edit menu, it shouldn't since there is nothing to undo and the menu item is greyed out To manage notifications about this bug go to: https://bugs.launchpad.net/hud/+bug/1192646/+subscriptions -- Mailing list: https://launchpad.net/~unity-api-bugs Post to : [email protected] Unsubscribe : https://launchpad.net/~unity-api-bugs More help : https://help.launchpad.net/ListHelp

