[pitivi] mediafilespreviewer: Remove the override of mouse button clicks on the slider
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] mediafilespreviewer: Remove the override of mouse button clicks on the slider
- Date: Tue, 9 Oct 2012 19:12:56 +0000 (UTC)
commit 8d38758e62349541608c93feff17188591ec8f80
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date: Tue Oct 9 14:55:48 2012 -0400
mediafilespreviewer: Remove the override of mouse button clicks on the slider
This was a hack that will not be needed (and will not work) in GTK 3.6:
GTK slider now does what's expected by default and ignores middle-clicks.
pitivi/mediafilespreviewer.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/mediafilespreviewer.py b/pitivi/mediafilespreviewer.py
index 8aabbde..2bfa906 100644
--- a/pitivi/mediafilespreviewer.py
+++ b/pitivi/mediafilespreviewer.py
@@ -295,7 +295,6 @@ class PreviewWidget(Gtk.VBox, Loggable):
self.preview_video.hide()
def _on_seeker_press_cb(self, widget, event):
- event.button = 2
if event.type == Gdk.EventType.BUTTON_PRESS:
self.countinuous_seek = True
if self.is_playing:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]