diff options
author | Berke Viktor <berkeviktor@aol.com> | 2012-06-10 09:20:58 +0200 |
---|---|---|
committer | Berke Viktor <berkeviktor@aol.com> | 2012-06-10 09:20:58 +0200 |
commit | 04829d015d500719d8aaeef56d988a46fd2639b7 (patch) | |
tree | 1ec9da2a460d58a6ccea87cd4a43ded2e4167feb /src | |
parent | 84710e41469fd503c13a3e5a82b4736f7456b3b7 (diff) |
Don't use the user's login name for real name while it's invisible
Diffstat (limited to 'src')
-rw-r--r-- | src/common/cfgfiles.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index 6bbdb3f7..081137b8 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -643,9 +643,11 @@ load_config (void) if (!username) username = "root"; - realname = g_get_real_name (); + /* We hid Real name from the Network List, so don't use the user's name unnoticeably */ + /* realname = g_get_real_name (); if ((realname && realname[0] == 0) || !realname) - realname = username; + realname = username; */ + realname = "realname"; username = convert_with_fallback (username, "username"); realname = convert_with_fallback (realname, "realname"); |