aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-03-25 17:30:30 -0500
committerCharles Kerr <charles.kerr@canonical.com>2015-03-25 17:30:30 -0500
commitc83ee3f1bc5a9de5eefbc542f5734b481d0bbffd (patch)
tree8af26e27faa34e36c021922fe8109588e8397444
parent572cdb85a58bc0fb7632333ef8c390649d28714f (diff)
downloadayatana-indicator-session-c83ee3f1bc5a9de5eefbc542f5734b481d0bbffd.tar.gz
ayatana-indicator-session-c83ee3f1bc5a9de5eefbc542f5734b481d0bbffd.tar.bz2
ayatana-indicator-session-c83ee3f1bc5a9de5eefbc542f5734b481d0bbffd.zip
if someone has control codes in their real name, who are we do disagree?
-rw-r--r--src/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c
index 6fddd7a..9fda2f1 100644
--- a/src/service.c
+++ b/src/service.c
@@ -302,7 +302,7 @@ get_user_label (const IndicatorSessionUser * user)
while (*c != '\0')
{
if (g_unichar_isgraph(g_utf8_get_char(c)))
- return c;
+ return user->real_name;
c = g_utf8_next_char(c);
}