~larsu/libindicator/support-submenu-action

Viewing all changes in revision 522.

  • Committer: Lars Uebernickel
  • Date: 2014-01-29 13:16:59 UTC
  • Revision ID: lars.uebernickel@canonical.com-20140129131659-ym7577pfspckoeii
indicator-ng: support "submenu-action" on root menu items

Treat "submenu-action" attributes on the root menu item in the same way that
gtk+ does. If that attribute exists, it must reference an action with boolean
state that is set to 'true' whenever a corresponding indicator menu is open.

We need this for root items because they are not handled by gtk's menu tracker.
Nested submenus already get this.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: