aboutsummaryrefslogtreecommitdiff
path: root/src/user-list.vala
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-11 20:43:15 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-11 20:43:15 +0200
commit606273e4343ff3bad3f4525f2e2cf6f9fbbd491a (patch)
tree9fe778ba800a3e91c1bc3c6e840897a8a665f7f5 /src/user-list.vala
parentb54ac1c26655ea178dbd2bed2c69648d521a62ec (diff)
downloadarctica-greeter-606273e4343ff3bad3f4525f2e2cf6f9fbbd491a.tar.gz
arctica-greeter-606273e4343ff3bad3f4525f2e2cf6f9fbbd491a.tar.bz2
arctica-greeter-606273e4343ff3bad3f4525f2e2cf6f9fbbd491a.zip
src/user-list.vala: Rename gsettings key remote-service-fqdn to remote-service-configure-uri. Support an empty string as value and show a more intelligent message if it's empty.
Diffstat (limited to 'src/user-list.vala')
-rw-r--r--src/user-list.vala5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/user-list.vala b/src/user-list.vala
index cb2be6e..0991703 100644
--- a/src/user-list.vala
+++ b/src/user-list.vala
@@ -561,7 +561,10 @@ public class UserList : GreeterList
else
{
dialog.add_button (_("OK"), 0);
- dialog.text = _("You need a Remote Logon account to use this service. Visit https://%s to set up an account.").printf(AGSettings.get_string (AGSettings.KEY_REMOTE_SERVICE_FQDN));
+ if ("" != AGSettings.get_string (AGSettings.KEY_REMOTE_SERVICE_CONFIGURE_URI))
+ dialog.text = _("You need a Remote Logon account to use this service. Visit %s to request an account.").printf(AGSettings.get_string (AGSettings.KEY_REMOTE_SERVICE_CONFIGURE_URI));
+ else
+ dialog.text = _("You need a Remote Logon account to use this service. Please ask your site administrator for details.");
}
dialog.show_all ();