aboutsummaryrefslogtreecommitdiff
path: root/src/media-player-list-greeter.vala
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-03-03 12:46:48 -0600
committerTed Gould <ted@gould.cx>2014-03-03 12:46:48 -0600
commitb26ca3dc5f4aa49584b402d98cfea976f0966eb9 (patch)
tree17359a97fa348eb598594706603a55af230aa19e /src/media-player-list-greeter.vala
parent621efbb8d9728da645aa1c9aeac6068f395c8dc2 (diff)
downloadayatana-indicator-sound-b26ca3dc5f4aa49584b402d98cfea976f0966eb9.tar.gz
ayatana-indicator-sound-b26ca3dc5f4aa49584b402d98cfea976f0966eb9.tar.bz2
ayatana-indicator-sound-b26ca3dc5f4aa49584b402d98cfea976f0966eb9.zip
Blocking all '*' users
Diffstat (limited to 'src/media-player-list-greeter.vala')
-rw-r--r--src/media-player-list-greeter.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media-player-list-greeter.vala b/src/media-player-list-greeter.vala
index 5acfe16..33bf1d6 100644
--- a/src/media-player-list-greeter.vala
+++ b/src/media-player-list-greeter.vala
@@ -66,7 +66,7 @@ public class MediaPlayerListGreeter : MediaPlayerList {
var old_user = selected_user;
/* Protect against a null user */
- if (active_user != "" && active_user != "*guest") {
+ if (active_user != "" && active_user[0] != '*') {
selected_user = active_user;
} else {
selected_user = null;