diff options
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | src/greeter-list.vala | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index f950d8a..cc6d753 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,8 @@ unity-greeter-x2go (14.04.10-0x2go1) UNRELEASED; urgency=medium - We also allow usernames for UCCS login. - 90-unity-greeter-x2go.conf: Override all known LightDM setups that we know of in Ubuntu. + - Show Remote Login box if no other boxes (usernames, other login, + guest login) are to be shown. * debian/control: + Add to S: lightdm-remote-session-x2go. + Drop from S: lightdm-remote-session-uccsconfigure. diff --git a/src/greeter-list.vala b/src/greeter-list.vala index dee584f..add5c3a 100644 --- a/src/greeter-list.vala +++ b/src/greeter-list.vala @@ -462,6 +462,8 @@ public abstract class GreeterList : FadableBox /* Select another entry if the selected one was removed */ if (entry == selected_entry) { + if (entries.length () == 1) + index = 0; if (index >= entries.length () && index > 0) index--; else if (index < entries.length ()) |