From 97f1c52d76126a7bf54dff9082181979379c3ae6 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sun, 22 Apr 2007 09:13:26 +0000 Subject: [PATCH] Update chrome visibility before window unfullscreen. 2007-04-22 Carlos Garcia Campos * shell/ev-window.c: (ev_window_stop_fullscreen), (ev_window_stop_presentation): Update chrome visibility before window unfullscreen. svn path=/trunk/; revision=2416 --- ChangeLog | 7 +++++++ shell/ev-window.c | 6 ++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 70a19d47..83a372e1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-04-22 Carlos Garcia Campos + + * shell/ev-window.c: (ev_window_stop_fullscreen), + (ev_window_stop_presentation): + + Update chrome visibility before window unfullscreen. + 2007-04-20 Carlos Garcia Campos * data/Makefile.am: diff --git a/shell/ev-window.c b/shell/ev-window.c index b4488f73..f584d995 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -2699,10 +2699,9 @@ ev_window_stop_fullscreen (EvWindow *window) ev_view_set_fullscreen (view, FALSE); ev_window_update_fullscreen_action (window); - gtk_window_unfullscreen (GTK_WINDOW (window)); - update_chrome_flag (window, EV_CHROME_FULLSCREEN_TOOLBAR, FALSE); update_chrome_visibility (window); + gtk_window_unfullscreen (GTK_WINDOW (window)); if (!ev_window_is_empty (window)) ev_metadata_manager_set_boolean (window->priv->uri, "fullscreen", FALSE); @@ -2844,9 +2843,8 @@ ev_window_stop_presentation (EvWindow *window) ev_view_set_presentation (EV_VIEW (window->priv->view), FALSE); ev_window_update_presentation_action (window); - gtk_window_unfullscreen (GTK_WINDOW (window)); - update_chrome_visibility (window); + gtk_window_unfullscreen (GTK_WINDOW (window)); g_signal_handlers_disconnect_by_func (window->priv->view, (gpointer) presentation_motion_notify_cb, -- 2.43.5