[evince] [presentation] Fix transition of pages with duration=0



commit 646cf060718931b05045d9e7f64921236a04f8bd
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Mon Jan 4 14:53:00 2010 +0100

    [presentation] Fix transition of pages with duration=0

 libview/ev-view-presentation.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libview/ev-view-presentation.c b/libview/ev-view-presentation.c
index de86117..05f8799 100644
--- a/libview/ev-view-presentation.c
+++ b/libview/ev-view-presentation.c
@@ -237,7 +237,7 @@ ev_view_presentation_transition_start (EvViewPresentation *pview)
 
 	duration = ev_document_transition_get_page_duration (EV_DOCUMENT_TRANSITION (pview->document),
 							     pview->current_page);
-	if (duration > 0) {
+	if (duration >= 0) {
 		        pview->trans_timeout_id =
 				g_timeout_add_seconds (duration,
 						       (GSourceFunc) transition_next_page,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]