X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-dualscreen.c;h=7f60546556e797cb8d7af1695654529064ab4b02;hb=ffc1f12a9dd407c4924960276a018ec785c3740b;hp=0e8d808ba0cdffb26298f80f1ab9f7a7e6a8b34b;hpb=3ef022d148c7ddb762bb7ec483ef218d907bf143;p=evince.git diff --git a/shell/ev-dualscreen.c b/shell/ev-dualscreen.c index 0e8d808b..7f605465 100644 --- a/shell/ev-dualscreen.c +++ b/shell/ev-dualscreen.c @@ -204,9 +204,9 @@ ev_dscwindow_set_presentation (EvDSCWindow *ev_dscwindow, ev_document_model_set_document(ev_dscwindow->priv->model, document); /* ev_view_set_document (EV_VIEW (priv->notesview), - priv->presentation_document); - ev_dscwindow_window_placement (self); - ev_dscwindow_handle_resized (NULL, NULL, self); + priv->presentation_document);*/ + ev_dscwindow_window_placement (ev_dscwindow); + /*ev_dscwindow_handle_resized (NULL, NULL, self); */ } @@ -301,7 +301,7 @@ ev_dscwindow_init (EvDSCWindow *ev_dscwindow) + } + + gtk_paned_set_position (GTK_PANED (h), 400); -+ gtk_widget_show_all (h); + gtk_widget_show_all (h); + gtk_container_add (GTK_CONTAINER (self), h); + + /* fallback if we have >2 monitors (see window placement) */