aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-05-23 18:48:56 -0400
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-05-23 18:48:56 -0400
commit2babf3e334649031a4e8fff308358f6974ceb155 (patch)
treea05ea763fb07aea5e2e69b6f61a4a5174378ce30 /README
parent08be3e1b81cb6ba58073929be8121acb37078680 (diff)
downloadayatana-indicator-session-2babf3e334649031a4e8fff308358f6974ceb155.tar.gz
ayatana-indicator-session-2babf3e334649031a4e8fff308358f6974ceb155.tar.bz2
ayatana-indicator-session-2babf3e334649031a4e8fff308358f6974ceb155.zip
Set x-canonical-type for user and guest menu items
Diffstat (limited to 'README')
-rw-r--r--README4
1 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index 420541e..29a135f 100644
--- a/README
+++ b/README
@@ -12,7 +12,7 @@ As per the https://wiki.ubuntu.com/SystemMenu specification, both need four
visual components: (1) an Active Session Mark, the user's (2) icon, (3) name,
and (4) a Logged In Mark.
-== User menuitems can be recognized by their "indicator.switch-to-user" action.
+== User menuitems have "x-canonical-type" set to "indicator.user-menu-item"
Their four visual components are determined by:
1. You can test for the Action Session Mark by checking the action's state.
@@ -30,7 +30,7 @@ and (4) a Logged In Mark.
an array of usernames. If the array contains the username in this
menuitem's "target" attribute, show the Logged In Mark.
-== The Guest switcher can be recognized by its "indicator.switch-to-guest"
+== The Guest switcher has "x-canonical-type" set to "indicator.guest-menu-item"
action. Its four visual components are determined by:
1. You can test for the Active Session Mark by checking the action's state.