diff options
-rw-r--r-- | libempathy-gtk/empathy-contact-list-view.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c index c558738df..8d234e375 100644 --- a/libempathy-gtk/empathy-contact-list-view.c +++ b/libempathy-gtk/empathy-contact-list-view.c @@ -938,7 +938,7 @@ contact_list_view_call_activated_cb ( event = (GdkEventButton *) gtk_get_current_event (); - menu = gtk_menu_new (); + menu = empathy_context_menu_new (GTK_WIDGET (view)); shell = GTK_MENU_SHELL (menu); /* audio */ @@ -951,13 +951,9 @@ contact_list_view_call_activated_cb ( gtk_menu_shell_append (shell, item); gtk_widget_show (item); - gtk_menu_attach_to_widget (GTK_MENU (menu), - GTK_WIDGET (view), NULL); gtk_widget_show (menu); gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL, event->button, event->time); - g_object_ref_sink (menu); - g_object_unref (menu); g_object_unref (contact); } |