Don't use the user's login name for real name while it's invisible

This commit is contained in:
Berke Viktor 2012-06-10 09:20:58 +02:00
parent 84710e4146
commit 04829d015d

View File

@ -643,9 +643,11 @@ load_config (void)
if (!username) if (!username)
username = "root"; 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) if ((realname && realname[0] == 0) || !realname)
realname = username; realname = username; */
realname = "realname";
username = convert_with_fallback (username, "username"); username = convert_with_fallback (username, "username");
realname = convert_with_fallback (realname, "realname"); realname = convert_with_fallback (realname, "realname");