[intro] Don't crash when the user doesn't have a unix username set
This commit is contained in:
parent
e4720628cc
commit
f9fcfac9de
|
@ -81,6 +81,9 @@ namespace SparkleShare {
|
|||
};
|
||||
|
||||
string full_name = new UnixUserInfo (UnixEnvironment.UserName).RealName;
|
||||
if (string.IsNullOrEmpty (full_name))
|
||||
full_name = "";
|
||||
|
||||
Label name_label = new Label ("<b>" + _("Full Name:") + "</b>") {
|
||||
UseMarkup = true,
|
||||
Xalign = 0
|
||||
|
|
Loading…
Reference in a new issue