From: Lukáš Bezdička <255993@mail.muni.cz> Date: Wed, 6 Apr 2011 16:48:40 +0000 (+0200) Subject: [shell] dualscreen yay alpha works X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=evince.git;a=commitdiff_plain;h=ffc1f12a9dd407c4924960276a018ec785c3740b [shell] dualscreen yay alpha works --- 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) */ diff --git a/shell/ev-window.c b/shell/ev-window.c index d8ab6e18..d76fddc1 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -4011,7 +4011,7 @@ ev_window_run_presentation_wrapper (EvWindow *window) presentation_window->priv->document); gtk_window_present (GTK_WINDOW (control)); } else - ev_window_stop_presentation (window, TRUE); + ev_window_run_presentation (window); } static void