[empathy] Fix contacts not showing on the map



commit 29a6e9ff7d6b775be67d81c5ce8a5631164a51e3
Author: Pierre-Luc Beaudoin <pierre-luc pierlux com>
Date:   Mon May 11 01:00:34 2009 -0400

    Fix contacts not showing on the map
---
 src/empathy-map-view.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/empathy-map-view.c b/src/empathy-map-view.c
index 0e78203..c6affb4 100644
--- a/src/empathy-map-view.c
+++ b/src/empathy-map-view.c
@@ -123,6 +123,8 @@ empathy_map_view_show ()
 
   list_iface = EMPATHY_CONTACT_LIST (empathy_contact_manager_dup_singleton ());
   list_store = empathy_contact_list_store_new (list_iface);
+  empathy_contact_list_store_set_show_groups (list_store, FALSE);
+  empathy_contact_list_store_set_show_avatars (list_store, TRUE);
   g_object_unref (list_iface);
 
   window->list_store = list_store;
@@ -321,7 +323,6 @@ map_view_contacts_foreach (GtkTreeModel *model,
   g_object_set_data (G_OBJECT (contact), "map-view-handle",
       GINT_TO_POINTER (handle_id));
 
-  clutter_container_add (CLUTTER_CONTAINER (marker), texture, NULL);
   clutter_actor_set_anchor_point (marker, 16, 16);
 
   avatar = empathy_pixbuf_avatar_from_contact_scaled (contact, 32, 32);



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