totem r5770 - in trunk: . src
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5770 - in trunk: . src
- Date: Wed, 22 Oct 2008 10:02:57 +0000 (UTC)
Author: hadess
Date: Wed Oct 22 10:02:57 2008
New Revision: 5770
URL: http://svn.gnome.org/viewvc/totem?rev=5770&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:
trunk/ChangeLog
trunk/src/totem.c
Modified: trunk/src/totem.c
==============================================================================
--- trunk/src/totem.c (original)
+++ trunk/src/totem.c Wed Oct 22 10:02:57 2008
@@ -1852,8 +1852,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]