diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2014-11-28 16:07:15 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2014-11-28 16:07:15 +0100 |
commit | c3ad1ba6d691d3b0d227652afc4f0cdb10a21a27 (patch) | |
tree | ae98ffd02252b5241da33c7931cb79df0913802e /src/user-list.vala | |
parent | 834e272cad0d16baf1a1939924b27e6feab91761 (diff) | |
download | arctica-greeter-c3ad1ba6d691d3b0d227652afc4f0cdb10a21a27.tar.gz arctica-greeter-c3ad1ba6d691d3b0d227652afc4f0cdb10a21a27.tar.bz2 arctica-greeter-c3ad1ba6d691d3b0d227652afc4f0cdb10a21a27.zip |
If normal user sessions _and_ guest sessions are disabled, make sure the remote login services gets activated.
Diffstat (limited to 'src/user-list.vala')
-rw-r--r-- | src/user-list.vala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/user-list.vala b/src/user-list.vala index b2b13b1..017ed6c 100644 --- a/src/user-list.vala +++ b/src/user-list.vala @@ -293,6 +293,9 @@ public class UserList : GreeterList if (remote_directory_server_list.length() > 0 && !always_show_manual) { debug ("removing manual login since we have a remote login entry"); remove_entry ("*other"); + if (!UnityGreeter.singleton.has_guest_account_hint () && UnityGreeter.singleton.hide_users_hint () ) { + set_active_first_entry_with_prefix ("*remote_directory"); + } } } |