aboutsummaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-07-01 09:53:32 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-07-01 09:53:32 -0500
commit39750137bbbbe1f3ba1aa7ae8dc5d39e0f354313 (patch)
tree774c372f7d2d9f5aef573bce62810e1e0c12391a /src/service.c
parentb70902d0ab7f999dd1d7e9f2fe656ea8e609d7ee (diff)
downloadayatana-indicator-session-39750137bbbbe1f3ba1aa7ae8dc5d39e0f354313.tar.gz
ayatana-indicator-session-39750137bbbbe1f3ba1aa7ae8dc5d39e0f354313.tar.bz2
ayatana-indicator-session-39750137bbbbe1f3ba1aa7ae8dc5d39e0f354313.zip
when user switching isn't available, don't ellipsize the 'Lock' menuitem
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/service.c b/src/service.c
index 36ef282..45bbdad 100644
--- a/src/service.c
+++ b/src/service.c
@@ -451,8 +451,7 @@ create_switch_section (IndicatorSessionService * self)
else if (g_hash_table_size (p->users) == 1)
{
const char * action = "indicator.switch-to-greeter";
- item = g_menu_item_new (ellipsis ? _("Lockā€¦")
- : _("Lock"), action);
+ item = g_menu_item_new (_("Lock"), action);
}
else
{