diff options
-rw-r--r-- | README | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -7,10 +7,10 @@ For instructions on building and running built-in tests, see the INSTALL file. Notes for Client Renderers -------------------------- -Indicator-Session has two custom types: the Guest menuitem and User menuitems. -Referencing the spec at ,https://wiki.ubuntu.com/SystemMenu.>, both have four -visual components: (1) an Active Session Mark and the user's (2) icon, -(3) name, and (4) Logged In Mark. +Indicator-Session has two custom menuitems: the Guest and User switchers. +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. Their four visual components are determined by: @@ -30,8 +30,8 @@ visual components: (1) an Active Session Mark and the user's (2) icon, an array of usernames. If the array contains the username in this menuitem's "target" attribute, show the Logged In Mark. -== Guest menuitems can be recognized by their "indicator.switch-to-guest" action. - Its four visual components is determined by: +== The Guest switcher can be recognized by its "indicator.switch-to-guest" + action. Its four visual components are determined by: 1. You can test for the Active Session Mark by checking the action's state. The state is a dictionary whose "is-active" key yields a boolean. |