aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/settings.vala2
-rw-r--r--src/user-list.vala5
2 files changed, 5 insertions, 2 deletions
diff --git a/src/settings.vala b/src/settings.vala
index 441035b..0372721 100644
--- a/src/settings.vala
+++ b/src/settings.vala
@@ -44,7 +44,7 @@ public class AGSettings
public const string KEY_GROUP_FILTER = "group-filter";
public const string KEY_IDLE_TIMEOUT = "idle-timeout";
public const string KEY_ACTIVATE_NUMLOCK = "activate-numlock";
- public const string KEY_REMOTE_SERVICE_FQDN = "remote-service-fqdn";
+ public const string KEY_REMOTE_SERVICE_CONFIGURE_URI = "remote-service-configure-uri";
public const string KEY_TOGGLEBOX_FONT_FGCOLOR = "togglebox-font-fgcolor";
public const string KEY_TOGGLEBOX_BUTTON_BGCOLOR = "togglebox-button-bgcolor";
public const string KEY_ENABLE_HIDPI = "enable-hidpi";
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 ();