[pitivi] Button Press are now in Gdk.EventType.*
- From: Jean-FranÃois Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Button Press are now in Gdk.EventType.*
- Date: Sun, 2 Sep 2012 04:02:30 +0000 (UTC)
commit 550ca3667382185fbf18d850b1f8e339a2ddde33
Author: Mathieu Duponchelle <mathieu duponchelle epitech eu>
Date: Sat Aug 11 01:20:53 2012 +0200
Button Press are now in Gdk.EventType.*
pitivi/effects.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/effects.py b/pitivi/effects.py
index a4a3e65..c9e092b 100644
--- a/pitivi/effects.py
+++ b/pitivi/effects.py
@@ -43,6 +43,7 @@ import gobject
import time
import pango
+from gi.repository import Gdk
from gettext import gettext as _
@@ -531,7 +532,7 @@ class EffectListWidget(gtk.VBox, Loggable):
if event.button == 3:
chain_up = False
- elif event.type is gtk.gdk._2BUTTON_PRESS:
+ elif event.type == Gdk.EventType._2BUTTON_PRESS:
factory_name = self.getSelectedItems()
if factory_name is not None:
self.app.gui.clipconfig.effect_expander.addEffectToCurrentSelection(factory_name)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]