diff options
author | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2010-03-22 13:20:04 +0800 |
---|---|---|
committer | Danielle Madeley <danielle.madeley@collabora.co.uk> | 2010-03-24 16:42:04 +0800 |
commit | 9cd08545e92314b01ca95b5432ef612720e24afb (patch) | |
tree | 95b602b17b0be0d0f64ab7d790b8892f46b48246 /libempathy-gtk | |
parent | 505b19ef1cd82dd94c701c3229cbab6626855167 (diff) | |
download | gsoc2013-empathy-9cd08545e92314b01ca95b5432ef612720e24afb.tar gsoc2013-empathy-9cd08545e92314b01ca95b5432ef612720e24afb.tar.gz gsoc2013-empathy-9cd08545e92314b01ca95b5432ef612720e24afb.tar.bz2 gsoc2013-empathy-9cd08545e92314b01ca95b5432ef612720e24afb.tar.lz gsoc2013-empathy-9cd08545e92314b01ca95b5432ef612720e24afb.tar.xz gsoc2013-empathy-9cd08545e92314b01ca95b5432ef612720e24afb.tar.zst gsoc2013-empathy-9cd08545e92314b01ca95b5432ef612720e24afb.zip |
Add an icon for People Nearby
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-contact-list-view.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c index 8e8342275..5aab817d7 100644 --- a/libempathy-gtk/empathy-contact-list-view.c +++ b/libempathy-gtk/empathy-contact-list-view.c @@ -942,11 +942,14 @@ contact_list_view_group_icon_cell_data_func (GtkTreeViewColumn *tree_column, if (!is_group) goto out; - if (tp_strdiff (name, EMPATHY_CONTACT_LIST_STORE_FAVORITE)) - goto out; - - pixbuf = empathy_pixbuf_from_icon_name ("emblem-favorite", - GTK_ICON_SIZE_MENU); + if (!tp_strdiff (name, EMPATHY_CONTACT_LIST_STORE_FAVORITE)) { + pixbuf = empathy_pixbuf_from_icon_name ("emblem-favorite", + GTK_ICON_SIZE_MENU); + } + else if (!tp_strdiff (name, EMPATHY_CONTACT_LIST_STORE_PEOPLE_NEARBY)) { + pixbuf = empathy_pixbuf_from_icon_name ("im-local-xmpp", + GTK_ICON_SIZE_MENU); + } out: g_object_set (cell, |