From ffc1f12a9dd407c4924960276a018ec785c3740b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Luk=C3=A1=C5=A1=20Bezdi=C4=8Dka?= <255993@mail.muni.cz> Date: Wed, 6 Apr 2011 18:48:40 +0200 Subject: [PATCH] [shell] dualscreen yay alpha works --- shell/ev-dualscreen.c | 8 ++++---- shell/ev-window.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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 -- 2.39.3