]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-window.c
[shell] fix Issues #2 #3 #4
[evince.git] / shell / ev-window.c
index a9e03e6ebd1382aaf9cc75828edcf9ae85c1438c..7905185e821d03de5b881bc523ec3e8a37f9aab5 100644 (file)
@@ -4055,11 +4055,11 @@ ev_window_run_presentation (EvWindow *window)
 
        if ( get_num_monitors(GTK_WINDOW(window)) > 1) {
                EvDSCWindow *control = ev_dscwindow_get_control();
-
+               gtk_window_present (GTK_WINDOW (control));
                ev_dscwindow_set_presentation   (control, window,
                                         window->priv->document,
-                                        EV_VIEW_PRESENTATION(window->priv->presentation_view));
-               gtk_window_present (GTK_WINDOW (control));
+                                        EV_VIEW_PRESENTATION(window->priv->presentation_view),
+                                        window->priv->metadata);
        }
 }