diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-03-30 00:08:40 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-03-30 23:40:15 +0800 |
commit | 92f20f66fc7248364b8df8654ddc933476fb5548 (patch) | |
tree | 5e0eae32839a34b80c8c05b1cd8acb02bdea7c48 /src | |
parent | aa9ae0fbeaa5dc9949e66f5a48b8a611dca0699f (diff) | |
download | gsoc2013-empathy-92f20f66fc7248364b8df8654ddc933476fb5548.tar gsoc2013-empathy-92f20f66fc7248364b8df8654ddc933476fb5548.tar.gz gsoc2013-empathy-92f20f66fc7248364b8df8654ddc933476fb5548.tar.bz2 gsoc2013-empathy-92f20f66fc7248364b8df8654ddc933476fb5548.tar.lz gsoc2013-empathy-92f20f66fc7248364b8df8654ddc933476fb5548.tar.xz gsoc2013-empathy-92f20f66fc7248364b8df8654ddc933476fb5548.tar.zst gsoc2013-empathy-92f20f66fc7248364b8df8654ddc933476fb5548.zip |
call-window: raise the overlay actor instead of individual actors
Or the actors will be raised relative to their box, but not relative to
the whole scene.
https://bugzilla.gnome.org/show_bug.cgi?id=673046
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-call-window.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 71c1a975e..3b05d4d7a 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -377,17 +377,6 @@ dtmf_start_tone_cb (EmpathyDialpadWidget *dialpad, } static void -empathy_call_window_raise_actors (EmpathyCallWindow *self) -{ - clutter_actor_raise_top (self->priv->floating_toolbar); - - clutter_actor_raise_top (self->priv->preview_rectangle1); - clutter_actor_raise_top (self->priv->preview_rectangle2); - clutter_actor_raise_top (self->priv->preview_rectangle3); - clutter_actor_raise_top (self->priv->preview_rectangle4); -} - -static void empathy_call_window_show_video_output (EmpathyCallWindow *self, gboolean show) { @@ -396,7 +385,7 @@ empathy_call_window_show_video_output (EmpathyCallWindow *self, gtk_widget_set_visible (self->priv->remote_user_avatar_widget, !show); - empathy_call_window_raise_actors (self); + clutter_actor_raise_top (self->priv->overlay_box); } static void @@ -3234,7 +3223,7 @@ empathy_call_window_show_video_output_cb (gpointer user_data) { gtk_widget_hide (self->priv->remote_user_avatar_widget); clutter_actor_show (self->priv->video_output); - empathy_call_window_raise_actors (self); + clutter_actor_raise_top (self->priv->overlay_box); } return FALSE; |