setup: strip traling commas from username sometimes found on linux
This commit is contained in:
parent
8220c5597b
commit
fe7dff774f
|
@ -69,7 +69,10 @@ namespace SparkleShare {
|
||||||
Xalign = 1
|
Xalign = 1
|
||||||
};
|
};
|
||||||
|
|
||||||
Entry name_entry = new Entry (UnixUserInfo.GetRealUser ().RealName) {
|
string username = UnixUserInfo.GetRealUser ().RealName;
|
||||||
|
username = username.TrimEnd (",".ToCharArray ());
|
||||||
|
|
||||||
|
Entry name_entry = new Entry (username) {
|
||||||
Xalign = 0,
|
Xalign = 0,
|
||||||
ActivatesDefault = true
|
ActivatesDefault = true
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue