diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-01-21 05:41:58 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-01-21 05:41:58 +0800 |
commit | df2045d6031f276b60ad5a15b7acd7bb0257a598 (patch) | |
tree | f3e7acb70a23595b3857ae9ec51439fa82a2a206 /libempathy-gtk/empathy-group-chat.c | |
parent | 0f90a138f3fbd9affc95901d5ee9283aaea9f203 (diff) | |
download | gsoc2013-empathy-df2045d6031f276b60ad5a15b7acd7bb0257a598.tar gsoc2013-empathy-df2045d6031f276b60ad5a15b7acd7bb0257a598.tar.gz gsoc2013-empathy-df2045d6031f276b60ad5a15b7acd7bb0257a598.tar.bz2 gsoc2013-empathy-df2045d6031f276b60ad5a15b7acd7bb0257a598.tar.lz gsoc2013-empathy-df2045d6031f276b60ad5a15b7acd7bb0257a598.tar.xz gsoc2013-empathy-df2045d6031f276b60ad5a15b7acd7bb0257a598.tar.zst gsoc2013-empathy-df2045d6031f276b60ad5a15b7acd7bb0257a598.zip |
Add a features property on EmpathyContactListView to enable/disable each action.
svn path=/trunk/; revision=585
Diffstat (limited to 'libempathy-gtk/empathy-group-chat.c')
-rw-r--r-- | libempathy-gtk/empathy-group-chat.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-group-chat.c b/libempathy-gtk/empathy-group-chat.c index 777514652..534f66c27 100644 --- a/libempathy-gtk/empathy-group-chat.c +++ b/libempathy-gtk/empathy-group-chat.c @@ -527,8 +527,14 @@ group_chat_set_tp_chat (EmpathyChat *chat, /* Create contact list */ priv->store = empathy_contact_list_store_new (EMPATHY_CONTACT_LIST (priv->tp_chat)); - priv->view = empathy_contact_list_view_new (priv->store); - empathy_contact_list_view_set_interactive (priv->view, TRUE); + priv->view = empathy_contact_list_view_new (priv->store, + EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CHAT | + EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CALL | + EMPATHY_CONTACT_LIST_FEATURE_CONTACT_LOG | + EMPATHY_CONTACT_LIST_FEATURE_CONTACT_FT | + EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INVITE | + EMPATHY_CONTACT_LIST_FEATURE_CONTACT_INFO); + gtk_container_add (GTK_CONTAINER (priv->scrolled_window_contacts), GTK_WIDGET (priv->view)); gtk_widget_show (GTK_WIDGET (priv->view)); |