diff options
author | Michael Terry <michael.terry@canonical.com> | 2012-09-11 13:47:35 -0400 |
---|---|---|
committer | Michael Terry <michael.terry@canonical.com> | 2012-09-11 13:47:35 -0400 |
commit | a420130af184b73c2261a15491c89bcb13bbc4aa (patch) | |
tree | f1a6cf179a1e5bbd78caaa3ca100f7b0e0c17258 /liblightdm-qt | |
parent | bc7675aba3224119ec1d7be10428800bb3b72577 (diff) | |
download | lightdm-a420130af184b73c2261a15491c89bcb13bbc4aa.tar.gz |
Add greeter-show-remote-login hint
Diffstat (limited to 'liblightdm-qt')
-rw-r--r-- | liblightdm-qt/QLightDM/greeter.h | 1 | ||||
-rw-r--r-- | liblightdm-qt/greeter.cpp | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/liblightdm-qt/QLightDM/greeter.h b/liblightdm-qt/QLightDM/greeter.h index 4c6799e0..4cf37632 100644 --- a/liblightdm-qt/QLightDM/greeter.h +++ b/liblightdm-qt/QLightDM/greeter.h @@ -55,6 +55,7 @@ public: QString defaultSessionHint() const; bool hideUsersHint() const; bool showManualLoginHint() const; + bool showRemoteLoginHint() const; bool lockHint () const; bool hasGuestAccountHint() const; QString selectUserHint() const; diff --git a/liblightdm-qt/greeter.cpp b/liblightdm-qt/greeter.cpp index 2df535b5..7643e407 100644 --- a/liblightdm-qt/greeter.cpp +++ b/liblightdm-qt/greeter.cpp @@ -192,6 +192,12 @@ bool Greeter::showManualLoginHint() const return lightdm_greeter_get_show_manual_login_hint(d->ldmGreeter); } +bool Greeter::showRemoteLoginHint() const +{ + Q_D(const Greeter); + return lightdm_greeter_get_show_remote_login_hint(d->ldmGreeter); +} + bool Greeter::lockHint() const { Q_D(const Greeter); |