[pitivi] effectlist.py: fixe double click to had an effect on selected clips



commit 080c2eeb0f48f9ffbba52d045c2904333ca39c57
Author: Thibault Saunier <tsaunier gnome org>
Date:   Thu Aug 26 16:56:58 2010 +0200

    effectlist.py: fixe double click to had an effect on selected clips

 pitivi/ui/effectlist.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/ui/effectlist.py b/pitivi/ui/effectlist.py
index a17088f..2364617 100644
--- a/pitivi/ui/effectlist.py
+++ b/pitivi/ui/effectlist.py
@@ -218,7 +218,7 @@ class EffectList(gtk.VBox, Loggable):
 
         if event.button == 3:
             chain_up = False
-        elif event.type is gtk.gdk.BUTTON_PRESS:
+        elif event.type is gtk.gdk._2BUTTON_PRESS:
             factory_name = self.getSelectedItems()
             self.app.gui.clipconfig.effect_expander.addEffectToCurrentSelection(factory_name)
         else:



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