show 'You' when you made the commit

This commit is contained in:
Hylke Bons 2010-05-21 11:06:49 +01:00
parent df2532f91e
commit 24b0ecec28

View file

@ -160,7 +160,12 @@ namespace SparkleShare {
Iter = LogStore.Append ();
LogStore.SetValue (Iter, 0, ChangeIcon);
LogStore.SetValue (Iter, 1, Message);
LogStore.SetValue (Iter, 2, UserName);
if (SparkleRepo.UserEmail.Equals (UserEmail))
LogStore.SetValue (Iter, 2, "You");
else
LogStore.SetValue (Iter, 2, UserName);
LogStore.SetValue (Iter, 3, TimeAgo);
// We're not showing e-mail, it's only