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);
*/
}
+ }
+
+ 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) */
presentation_window->priv->document);
gtk_window_present (GTK_WINDOW (control));
} else
- ev_window_stop_presentation (window, TRUE);
+ ev_window_run_presentation (window);
}
static void