]> www.fi.muni.cz Git - evince.git/commitdiff
Update chrome visibility before window unfullscreen.
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 22 Apr 2007 09:13:26 +0000 (09:13 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Sun, 22 Apr 2007 09:13:26 +0000 (09:13 +0000)
2007-04-22  Carlos Garcia Campos  <carlosgc@gnome.org>
* shell/ev-window.c: (ev_window_stop_fullscreen),
(ev_window_stop_presentation):
Update chrome visibility before window unfullscreen.

svn path=/trunk/; revision=2416

ChangeLog
shell/ev-window.c

index 70a19d47ae71d9acb04354f99e3e2b66bd22c5f4..83a372e1b442ece0ece5956b15f8aae77f7b5b71 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-04-22  Carlos Garcia Campos  <carlosgc@gnome.org>
+
+       * shell/ev-window.c: (ev_window_stop_fullscreen),
+       (ev_window_stop_presentation):
+
+       Update chrome visibility before window unfullscreen. 
+
 2007-04-20  Carlos Garcia Campos  <carlosgc@gnome.org>
 
        * data/Makefile.am:
index b4488f73eb8c2b283029f457d7c05165dbcf8395..f584d99573319e181d7626417f49726ff4fbe6ab 100644 (file)
@@ -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,