[totem] browser-plugin: Update seek slider position hack
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] browser-plugin: Update seek slider position hack
- Date: Wed, 27 Jun 2012 09:01:31 +0000 (UTC)
commit 015473560c26cf8ebc6f5033601cacda285c79c2
Author: Iain Lane <iain lane canonical com>
Date: Tue Jun 26 22:34:33 2012 +0100
browser-plugin: Update seek slider position hack
Commit b31a06a712ab39a9c9018304b9dfc5a31687016c updated the seek slider
in the main totem UI to work with change in GTK+ 3.5.2.
Also fix the browser plugin's seek slider.
https://bugzilla.gnome.org/show_bug.cgi?id=678931
browser-plugin/totem-plugin-viewer.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/browser-plugin/totem-plugin-viewer.c b/browser-plugin/totem-plugin-viewer.c
index 54bafa9..c4443be 100644
--- a/browser-plugin/totem-plugin-viewer.c
+++ b/browser-plugin/totem-plugin-viewer.c
@@ -1547,13 +1547,6 @@ property_notify_cb_volume (BaconVideoWidget *bvw,
static gboolean
on_seek_start (GtkWidget *widget, GdkEventButton *event, TotemEmbedded *emb)
{
- /* HACK: we want the behaviour you get with the middle button, so we
- * mangle the event. clicking with other buttons moves the slider in
- * step increments, clicking with the middle button moves the slider to
- * the location of the click.
- */
- event->button = 2;
-
emb->seeking = TRUE;
totem_time_label_set_seeking (TOTEM_TIME_LABEL (emb->fs->time_label),
TRUE);
@@ -1564,9 +1557,6 @@ on_seek_start (GtkWidget *widget, GdkEventButton *event, TotemEmbedded *emb)
static gboolean
cb_on_seek (GtkWidget *widget, GdkEventButton *event, TotemEmbedded *emb)
{
- /* HACK: see on_seek_start */
- event->button = 2;
-
bacon_video_widget_seek (emb->bvw,
gtk_range_get_value (GTK_RANGE (widget)) / 65535, NULL);
totem_time_label_set_seeking (TOTEM_TIME_LABEL (emb->fs->time_label),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]