[gnome-contacts] Remove group header



commit d2b180249881cf13f0f4c727cdffd304cdd06d76
Author: Alexander Larsson <alexl redhat com>
Date:   Wed May 11 16:08:22 2011 +0200

    Remove group header
    
    This was not in the mockup anymore

 src/contacts-app.vala |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/contacts-app.vala b/src/contacts-app.vala
index 17fd241..5aa030c 100644
--- a/src/contacts-app.vala
+++ b/src/contacts-app.vala
@@ -77,7 +77,7 @@ public class Contacts.App : Window {
 
     var selection = tree_view.get_selection ();
     selection.set_mode (SelectionMode.BROWSE);
-    selection.select_path (new TreePath.from_indices(1));
+    selection.select_path (new TreePath.from_indices(0));
     selection.changed.connect (group_selected_changed);
     selection.set_select_function ((selection, model, path, path_currently_selected) => {
 	TreeIter iter;
@@ -173,8 +173,6 @@ public class Contacts.App : Window {
   private void fill_group_model () {
     TreeIter iter;
     group_store.append (out iter);
-    group_store.set (iter, GroupColumns.IS_HEADER, true, GroupColumns.TEXT, "Groups");
-    group_store.append (out iter);
     group_store.set (iter, GroupColumns.IS_HEADER, false, GroupColumns.TEXT, "All contacts", GroupColumns.GROUP, null);
     group_store.append (out iter);
     group_store.set (iter, GroupColumns.IS_HEADER, false, GroupColumns.TEXT, "Personal", GroupColumns.GROUP, "Gnome");



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