From 3066f837ec3c22d46382914111bd152b94f3f61e Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Mon, 25 Jul 2011 19:24:53 +0100 Subject: [PATCH] CallWindow: hide the audio/video call buttons on _init() When we create a new window it's because there's an incoming call, so hide the audio/video call buttons. --- src/empathy-call-window.c | 2 ++ src/empathy-call-window.ui | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index a7329903..8ba25a7d 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -1219,6 +1219,8 @@ empathy_call_window_init (EmpathyCallWindow *self) priv->sound_mgr = empathy_sound_manager_dup_singleton (); + empathy_call_window_show_hangup_button (self, TRUE); + empathy_geometry_bind (GTK_WINDOW (self), "call-window"); /* These signals are used to track the window position and save it * when the window is destroyed. We need to do this as we don't want diff --git a/src/empathy-call-window.ui b/src/empathy-call-window.ui index 850d0e65..205b666a 100644 --- a/src/empathy-call-window.ui +++ b/src/empathy-call-window.ui @@ -108,7 +108,6 @@ - True Video call camera-web Start a video call @@ -119,7 +118,6 @@ - True Call call-start Start an audio call -- 2.39.2