]> www.fi.muni.cz Git - evince.git/commitdiff
[shell] dualscreen yay alpha works
authorLukáš Bezdička <255993@mail.muni.cz>
Wed, 6 Apr 2011 16:48:40 +0000 (18:48 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 1 Jun 2011 11:09:21 +0000 (13:09 +0200)
shell/ev-dualscreen.c
shell/ev-window.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) */
index d8ab6e18fc12ea5db9c4a5c09cf3577d8e08369d..d76fddc1486dc34ea3276892190e98cd97d904cf 100644 (file)
@@ -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