aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-08-07 08:53:24 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-08-07 08:53:24 +0200
commit50d337807cf6255ebdb55d418b48ba6eddec5c61 (patch)
treeb1e2a8ee787dc5393d19e7634d26339d09fb510a
parentf775bdc11ce77199ff01ef1b04dd082dc55b2f1d (diff)
parentd4e7229a0638624b82e32f5d12d4a70fad1988e0 (diff)
downloadarctica-greeter-50d337807cf6255ebdb55d418b48ba6eddec5c61.tar.gz
arctica-greeter-50d337807cf6255ebdb55d418b48ba6eddec5c61.tar.bz2
arctica-greeter-50d337807cf6255ebdb55d418b48ba6eddec5c61.zip
Merge branch 'tari01-pr/no-user-rename'
Attributes GH PR #51: https://github.com/ArcticaProject/arctica-greeter/pull/51
-rw-r--r--src/arctica-greeter.vala10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala
index 00004dc..1243fa7 100644
--- a/src/arctica-greeter.vala
+++ b/src/arctica-greeter.vala
@@ -1315,11 +1315,6 @@ public class DBusServer : Object
public void sendUserChange (string sUser) throws GLib.DBusError, GLib.IOError
{
- if (sUser == "*guest")
- {
- sUser = "GUEST";
- }
-
Variant pUser = new Variant ("(s)", sUser);
try
@@ -1336,11 +1331,6 @@ public class DBusServer : Object
{
string sUser = this.pGreeter.get_state ("last-user");
- if (sUser == "*guest")
- {
- sUser = "GUEST";
- }
-
return sUser;
}