[totem/gnome-2-28] Fix position setting on session restore



commit f2d1ba336ac85306144c8d4f2c2cff4e44fd4753
Author: Ilya Murav'jov <muravev yandex ru>
Date:   Wed Apr 7 18:52:13 2010 +0100

    Fix position setting on session restore
    
    Copy/paste error...
    
    https://bugzilla.gnome.org/show_bug.cgi?id=614125

 src/totem-object.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index c6172cc..3aa7daa 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -2484,7 +2484,8 @@ update_seekable (Totem *totem)
 	action = gtk_action_group_get_action (action_group, "skip-backwards");
 	gtk_action_set_sensitive (action, seekable);
 
-	/* This is for the session restore to seek */
+	/* This is for the session restore and the position saving
+	 * to seek to the saved time */
 	if (seekable != FALSE) {
 		if (totem->seek_to != 0) {
 			bacon_video_widget_seek_time (totem->bvw,
@@ -2492,7 +2493,7 @@ update_seekable (Totem *totem)
 		}
 		if (totem->seek_to_start != 0) {
 			bacon_video_widget_seek_time (totem->bvw,
-						      totem->seek_to, NULL);
+						      totem->seek_to_start, NULL);
 			totem_action_pause (totem);
 		}
 	}



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