aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-07-26 02:24:53 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-07-28 16:00:38 +0800
commit3066f837ec3c22d46382914111bd152b94f3f61e (patch)
tree6f05e48b3a0c39a70de8e8e1a095a187d24547b0 /src
parentb8069dc8f3ec2cd215458194dc7a9eab26136faa (diff)
downloadgsoc2013-empathy-3066f837ec3c22d46382914111bd152b94f3f61e.tar
gsoc2013-empathy-3066f837ec3c22d46382914111bd152b94f3f61e.tar.gz
gsoc2013-empathy-3066f837ec3c22d46382914111bd152b94f3f61e.tar.bz2
gsoc2013-empathy-3066f837ec3c22d46382914111bd152b94f3f61e.tar.lz
gsoc2013-empathy-3066f837ec3c22d46382914111bd152b94f3f61e.tar.xz
gsoc2013-empathy-3066f837ec3c22d46382914111bd152b94f3f61e.tar.zst
gsoc2013-empathy-3066f837ec3c22d46382914111bd152b94f3f61e.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/empathy-call-window.c2
-rw-r--r--src/empathy-call-window.ui2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index a73299035..8ba25a7d3 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 850d0e652..205b666ac 100644
--- a/src/empathy-call-window.ui
+++ b/src/empathy-call-window.ui
@@ -108,7 +108,6 @@
</child>
<child>
<object class="GtkToolButton" id="videocall">
- <property name="visible">True</property>
<property name="label" translatable="yes">Video call</property>
<property name="icon_name">camera-web</property>
<property name="tooltip_text" translatable="yes">Start a video call</property>
@@ -119,7 +118,6 @@
</child>
<child>
<object class="GtkToolButton" id="audiocall">
- <property name="visible">True</property>
<property name="label" translatable="yes">Call</property>
<property name="icon_name">call-start</property>
<property name="tooltip_text" translatable="yes">Start an audio call</property>