show That's you! in the e-mail position

This commit is contained in:
Hylke Bons 2010-05-20 23:09:03 +01:00
parent 7964006823
commit a15108da1d

View file

@ -245,7 +245,7 @@ namespace SparkleShare {
// Do something special if the person is you
if (UserEmail.Equals (SparkleRepo.UserEmail))
UserName += _(" (thats you!)");
UserEmail = _("Thats you!");
// Actually add to the list
Iter = PeopleStore.Prepend ();
@ -293,6 +293,7 @@ namespace SparkleShare {
i++;
}
// Update the event log when a person is clicked
PeopleView.SelectionChanged += delegate (object o, EventArgs args) {
if (PeopleView.SelectedItems.Length > 0) {
PeopleStore.GetIter (out Iter, PeopleView.SelectedItems [0]);