aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-08-31 11:36:06 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-08-31 11:36:06 -0500
commit8c9120287ace0a37c26c38bfa94b1fd06dfa5578 (patch)
treecd9a16dfd2b3b0aa78023554439a967998778d42 /src
parented7d1fd6fd9d035156a15e8b0ed695de5e8e3f60 (diff)
downloadayatana-indicator-session-8c9120287ace0a37c26c38bfa94b1fd06dfa5578.tar.gz
ayatana-indicator-session-8c9120287ace0a37c26c38bfa94b1fd06dfa5578.tar.bz2
ayatana-indicator-session-8c9120287ace0a37c26c38bfa94b1fd06dfa5578.zip
add a11y case for attention needed, but username display disabled
Diffstat (limited to 'src')
-rw-r--r--src/indicator-session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/indicator-session.c b/src/indicator-session.c
index ec95328..aa328dd 100644
--- a/src/indicator-session.c
+++ b/src/indicator-session.c
@@ -441,6 +441,8 @@ indicator_session_update_a11y_from_disposition (IndicatorSession * indicator,
a11y = g_strdup_printf (_("System %s (Attention Required)"), username);
else if (show_name)
a11y = g_strdup_printf (_("System %s"), username);
+ else if (need_attn)
+ a11y = g_strdup (_("System (Attention Required)"));
else
a11y = g_strdup (_("System"));