[empathy] CallWindow: remove the hangup menu item



commit 09626bb08d6bcbb5c4ff14ea696282754ab7e93c
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date:   Tue Aug 2 12:45:14 2011 +0100

    CallWindow: remove the hangup menu item
    
    https://bugzilla.gnome.org/show_bug.cgi?id=655884

 src/empathy-call-window.c  |    1 -
 src/empathy-call-window.ui |    8 --------
 2 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index f39c0f8..338686d 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -815,7 +815,6 @@ empathy_call_window_init (EmpathyCallWindow *self)
   g_free (filename);
 
   empathy_builder_connect (gui, self,
-    "menuhangup", "activate", empathy_call_window_hangup_cb,
     "hangup", "clicked", empathy_call_window_hangup_cb,
     "audiocall", "clicked", empathy_call_window_audio_call_cb,
     "videocall", "clicked", empathy_call_window_video_call_cb,
diff --git a/src/empathy-call-window.ui b/src/empathy-call-window.ui
index f594d61..aa174f3 100644
--- a/src/empathy-call-window.ui
+++ b/src/empathy-call-window.ui
@@ -11,13 +11,6 @@
           </object>
         </child>
         <child>
-          <object class="GtkAction" id="menuhangup">
-            <property name="icon_name">call-stop</property>
-            <property name="name">menuhangup</property>
-            <property name="label" translatable="yes">Hang up</property>
-          </object>
-        </child>
-        <child>
           <object class="GtkAction" id="menufullscreen">
             <property name="stock_id">gtk-fullscreen</property>
             <property name="name">menufullscreen</property>
@@ -60,7 +53,6 @@
     <ui>
       <menubar name="menubar1">
         <menu action="call">
-          <menuitem action="menuhangup"/>
           <menuitem action="menufullscreen"/>
         </menu>
         <menu action="edit">



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