[orca-devel] a possible bug?



Hi all.
Could someone check?

In the file focus_tracking_presenter.py in the function _dequeueEvent, w'e have the following code:
        except Queue.Empty:
            debug.println(debug.LEVEL_SEVERE,
                          "focus_tracking_presenter:_dequeueEvent: " \
                          + " the event queue is empty!")
            rerun = False # destroy and don't call again

I think that we should set the variable self._gidleId to 0 so that the following code in _enqueueEvent can work:
            if asyncMode and (not self._gidleId):
                if settings.gilSleepTime:
                    time.sleep(settings.gilSleepTime)
                self._gidleId = gobject.idle_add(self._dequeueEvent)

Thoughts?
Thanks.


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