X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-window.c;h=30491844ff39d0d9866f3f7301140205b2f38371;hb=e15a7596cedb2c211df936d9ca01da3a53814d08;hp=a9e03e6ebd1382aaf9cc75828edcf9ae85c1438c;hpb=2f34c24ee725427e0ad57ee1da30af15ae86ab65;p=evince.git diff --git a/shell/ev-window.c b/shell/ev-window.c index a9e03e6e..30491844 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -4053,14 +4053,13 @@ ev_window_run_presentation (EvWindow *window) if (window->priv->metadata && !ev_window_is_empty (window)) ev_metadata_set_boolean (window->priv->metadata, "presentation", TRUE); - if ( get_num_monitors(GTK_WINDOW(window)) > 1) { + //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)); - } + //} } void