~noasakurajin/xapp/master

Viewing all changes in revision 236.

  • Committer: Michael Webster
  • Date: 2020-06-01 18:50:07 UTC
  • Revision ID: git-v1:20331beaf89f793b8e46bc38a1b6b6a2b7f5a9a4
xapp-status-icon: Add new properties for menu/button state handling and one
for metadata (miscellaneous info to help define behavior in the status applets).

- Add 'PrimaryMenuIsOpen' and 'SecondaryMenuIsOpen' so button toggle states can
  be synced properly.
- The metadata is used to be able to tell the applet that both menus should be
  treated as primary as far as button state is concerned (the default behavior is
  that highlighting only takes place for primary menus).  This is just a json
  string for now, but could be expanded to express other details without having
  to expand XAppStatusIcon api.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: