totem r5771 - in branches/gnome-2-24: . src



Author: hadess
Date: Wed Oct 22 10:04:14 2008
New Revision: 5771
URL: http://svn.gnome.org/viewvc/totem?rev=5771&view=rev

Log:
2008-10-22  Bastien Nocera  <hadess hadess net>

	* src/totem.c (seek_slider_pressed_cb): Don't show seeking to
	label when we can direct seek (Closes: #338390)



Modified:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/src/totem.c

Modified: branches/gnome-2-24/src/totem.c
==============================================================================
--- branches/gnome-2-24/src/totem.c	(original)
+++ branches/gnome-2-24/src/totem.c	Wed Oct 22 10:04:14 2008
@@ -1856,8 +1856,10 @@
 seek_slider_pressed_cb (GtkWidget *widget, GdkEventButton *event, Totem *totem)
 {
 	totem->seek_lock = TRUE;
-	totem_statusbar_set_seeking (TOTEM_STATUSBAR (totem->statusbar), TRUE);
-	totem_time_label_set_seeking (TOTEM_TIME_LABEL (totem->fs->time_label), TRUE);
+	if (bacon_video_widget_can_direct_seek (totem->bvw) == FALSE) {
+		totem_statusbar_set_seeking (TOTEM_STATUSBAR (totem->statusbar), TRUE);
+		totem_time_label_set_seeking (TOTEM_TIME_LABEL (totem->fs->time_label), TRUE);
+	}
 
 	return FALSE;
 }



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