diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-05-22 23:19:50 -0400 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-05-22 23:19:50 -0400 |
commit | 12a5f15581d2c8ba5e6b4ec4baa19bd436e4fd8d (patch) | |
tree | db7b5c3a4ed464a8445de8ae4e8a21ab604d8b6a /TODO | |
parent | 3f3aa147ac8ee224f40d9c4e9800b4c5825fde59 (diff) | |
download | ayatana-ido-12a5f15581d2c8ba5e6b4ec4baa19bd436e4fd8d.tar.gz ayatana-ido-12a5f15581d2c8ba5e6b4ec4baa19bd436e4fd8d.tar.bz2 ayatana-ido-12a5f15581d2c8ba5e6b4ec4baa19bd436e4fd8d.zip |
Add IdoActionHelper
This class contains some functionality that all menu items that are bound to
an action need. It listens for action additions and removals, changes in
enabled state, and state changes. It is _not_ intended to be used by specific
menu items, but rather as the glue in IdoMenuItemFactory, to bind a widget to
an action.
An alternative way to reach the same goal is to have an IdoMenuItem base class
which contains the common functionality. This would have required touching
all existing menu items (slider, user menu item, media player items) and
would have added more complexity to them.
It is similar in spirit to GtkActionHelper (a private class in gtk), but very
different in API and implementation.
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions