aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-02-28 17:08:59 -0600
committerTed Gould <ted@gould.cx>2014-02-28 17:08:59 -0600
commit4d6c4f5a4c6bcb16843b936175988261f2699688 (patch)
tree1778fcfea741fca36ffa4c02e7cc07b68be63b2b
parentdb8f59aa75d57bed2dd74c40507d6db2481b5b0c (diff)
downloadayatana-indicator-sound-4d6c4f5a4c6bcb16843b936175988261f2699688.tar.gz
ayatana-indicator-sound-4d6c4f5a4c6bcb16843b936175988261f2699688.tar.bz2
ayatana-indicator-sound-4d6c4f5a4c6bcb16843b936175988261f2699688.zip
Block the guest account
-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 6dd5eb9..5acfe16 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 != "") {
+ if (active_user != "" && active_user != "*guest") {
selected_user = active_user;
} else {
selected_user = null;