[gnome-contacts] Make sure we reset is_first when removing from the store



commit e5cb2e1c47221f449caef0b86ca4604f718288c2
Author: Alexander Larsson <alexl redhat com>
Date:   Tue May 24 11:22:08 2011 +0200

    Make sure we reset is_first when removing from the store

 src/contacts-store.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/contacts-store.vala b/src/contacts-store.vala
index 6336f76..aa92166 100644
--- a/src/contacts-store.vala
+++ b/src/contacts-store.vala
@@ -129,6 +129,7 @@ public class Contacts.Store  {
 			next = get_next (data);
 
 		list_store.remove (data.iter);
+		data.is_first = false;
 
 		if (next != null)
 			update_is_first (next, get_previous (next));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]