]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-dualscreen.c
[shell] dualscreen yay alpha works
[evince.git] / shell / ev-dualscreen.c
index 0e8d808ba0cdffb26298f80f1ab9f7a7e6a8b34b..7f60546556e797cb8d7af1695654529064ab4b02 100644 (file)
@@ -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) */