aboutsummaryrefslogtreecommitdiff
path: root/src/backend-dbus
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-11-03 02:58:43 +0100
committerRobert Tari <robert@tari.in>2021-11-03 02:58:43 +0100
commit838e2ff71472e0ae70ea0f62a614472f434bd2df (patch)
tree3512795b09ce9fb2833ab53efbf35d8c6c113d6d /src/backend-dbus
parent3834947c6828ec4bcea7d941b1c28a8b9318f829 (diff)
downloadayatana-indicator-session-838e2ff71472e0ae70ea0f62a614472f434bd2df.tar.gz
ayatana-indicator-session-838e2ff71472e0ae70ea0f62a614472f434bd2df.tar.bz2
ayatana-indicator-session-838e2ff71472e0ae70ea0f62a614472f434bd2df.zip
Use Ayatana as mock user
Diffstat (limited to 'src/backend-dbus')
-rw-r--r--src/backend-dbus/users.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend-dbus/users.c b/src/backend-dbus/users.c
index e6910c6..f19e1e8 100644
--- a/src/backend-dbus/users.c
+++ b/src/backend-dbus/users.c
@@ -1,8 +1,10 @@
/*
* Copyright 2013 Canonical Ltd.
+ * Copyright 2021 Robert Tari
*
* Authors:
* Charles Kerr <charles.kerr@canonical.com>
+ * Robert Tari <robert@tari.in>
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 3, as published
@@ -397,7 +399,7 @@ on_login1_manager_session_list_ready (GObject * o,
{
set_active_uid (self, uid);
- if ((uid==999) && !g_strcmp0 (user_name, "ubuntu"))
+ if ((uid==999) && !g_strcmp0 (user_name, "ayatana"))
is_live_session = TRUE;
}