[empathy] Don't display any contact menu for muc chats



commit 1968b5ac26a4e2dac0220cb3203def2854de095d
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Dec 22 14:14:47 2010 +0100

    Don't display any contact menu for muc chats
    
    It's confusing to have it in muc, even if a contact is selected. And we can
    still interact with the contact by right clicking on it if needed.

 libempathy-gtk/empathy-chat.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index a92298c..2956154 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -3250,12 +3250,6 @@ empathy_chat_get_contact_menu (EmpathyChat *chat)
 						 EMPATHY_CONTACT_FEATURE_LOG |
 						 EMPATHY_CONTACT_FEATURE_INFO);
 	}
-	else if (priv->contact_list_view) {
-		EmpathyContactListView *view;
-
-		view = EMPATHY_CONTACT_LIST_VIEW (priv->contact_list_view);
-		menu = empathy_contact_list_view_get_contact_menu (view);
-	}
 
 	return menu;
 }



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