gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] libvob/vob/buoy buoymanager.py


From: Matti Katila
Subject: [Gzz-commits] libvob/vob/buoy buoymanager.py
Date: Tue, 12 Aug 2003 04:13:08 -0400

CVSROOT:        /cvsroot/libvob
Module name:    libvob
Branch:         
Changes by:     Matti Katila <address@hidden>   03/08/12 04:13:08

Modified files:
        vob/buoy       : buoymanager.py 

Log message:
        work for events

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/vob/buoy/buoymanager.py.diff?tr1=1.49&tr2=1.50&r1=text&r2=text

Patches:
Index: libvob/vob/buoy/buoymanager.py
diff -u libvob/vob/buoy/buoymanager.py:1.49 libvob/vob/buoy/buoymanager.py:1.50
--- libvob/vob/buoy/buoymanager.py:1.49 Mon Aug 11 14:52:27 2003
+++ libvob/vob/buoy/buoymanager.py      Tue Aug 12 04:13:08 2003
@@ -239,8 +239,7 @@
         self.buoyHit = BuoyHit()
 
     def key(self, key):
-        if hasattr(self.geometer, 'key'):
-            self.geometer.key(key)
+        raise 'no key events here, thank you'
     def replaceManager(self, index, replace):
         self.singles[index] = SingleFocusManager(replace, self.connectors)
     def getVs(self):
@@ -274,13 +273,14 @@
                    nadirCS)
 
     def mouse(self, ev):
+        """ Returns true if buoymanager has eaten the event ;)"""
         if not hasattr(self, 'vs'):
             vob.AbstractUpdateManager.setNoAnimation()
             vob.AbstractUpdateManager.chg()
-            return
+            return 1
 
        if self.eventHandler.mouse(ev, self.vs):
-           return
+           return 1
 
         if ev.getType() == ev.MOUSE_DRAGGED:
             if self.singles[self.lastIndex].mainNode.mouse(ev, self.vs):




reply via email to

[Prev in Thread] Current Thread [Next in Thread]