[empathy] Re-add the audio and video call menu items in the call-activated handler.



commit 9be29ffebe4166ab6e985d64efa2ea3a51d2e6b8
Author: Travis Reitter <treitter gmail com>
Date:   Tue Jun 15 16:42:29 2010 -0700

    Re-add the audio and video call menu items in the call-activated handler.

 libempathy-gtk/empathy-individual-view.c |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c
index 7d35487..5a0a566 100644
--- a/libempathy-gtk/empathy-individual-view.c
+++ b/libempathy-gtk/empathy-individual-view.c
@@ -939,12 +939,14 @@ individual_view_call_activated_cb (EmpathyCellRendererActivatable *cell,
   shell = GTK_MENU_SHELL (menu);
 
   /* audio */
-  /* TODO: implement */
-  DEBUG ("audio call menu item unimplemented");
+  item = empathy_individual_audio_call_menu_item_new (individual);
+  gtk_menu_shell_append (shell, item);
+  gtk_widget_show (item);
 
   /* video */
-  /* TODO: implement */
-  DEBUG ("video call menu item unimplemented");
+  item = empathy_individual_video_call_menu_item_new (individual);
+  gtk_menu_shell_append (shell, item);
+  gtk_widget_show (item);
 
   g_signal_connect (menu, "deactivate", G_CALLBACK (gtk_menu_detach), NULL);
   gtk_menu_attach_to_widget (GTK_MENU (menu), GTK_WIDGET (view), NULL);



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