aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r--src/empathy-call-window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index fe633045a..c15b5a6b5 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -88,6 +88,7 @@ struct _EmpathyCallWindowPriv
GtkWidget *toolbar;
GtkWidget *pane;
GtkAction *send_video;
+ GtkAction *menu_fullscreen;
/* We keep a reference on the hbox which contains the main content so we can
easilly repack everything when toggling fullscreen */
@@ -524,6 +525,7 @@ empathy_call_window_init (EmpathyCallWindow *self)
"toolbar", &priv->toolbar,
"send_video", &priv->send_video,
"ui_manager", &priv->ui_manager,
+ "menufullscreen", &priv->menu_fullscreen,
NULL);
empathy_builder_connect (gui, self,
@@ -1335,6 +1337,8 @@ empathy_call_window_state_event_cb (GtkWidget *widget,
set_fullscreen);
show_controls (window, set_fullscreen);
show_borders (window, set_fullscreen);
+ gtk_action_set_stock_id(priv->menu_fullscreen,
+ (set_fullscreen ? "gtk-leave-fullscreen" : "gtk-fullscreen"));
priv->is_fullscreen = set_fullscreen;
}