diff options
author | David Pellicer <davidpellicermartin@gmail.com> | 2010-12-07 09:19:56 -0800 |
---|---|---|
committer | Eitan Isaacson <eitan@monotonous.org> | 2010-12-07 09:20:23 -0800 |
commit | c35d19ab7d43328c33e9b1916f8508df944c2fc3 (patch) | |
tree | f364c59fe88ee4b3a8c3c9e66831daf992d968ef /caribou/ui/main.py | |
parent | 8d0fc8934626783e05f55a5c4235924faed9d1df (diff) | |
download | caribou-c35d19ab7d43328c33e9b1916f8508df944c2fc3.tar.gz |
Added scanning support.
Diffstat (limited to 'caribou/ui/main.py')
-rw-r--r-- | caribou/ui/main.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/caribou/ui/main.py b/caribou/ui/main.py index 0f99398..013cabf 100644 --- a/caribou/ui/main.py +++ b/caribou/ui/main.py @@ -131,9 +131,10 @@ class Caribou: if debug == True: print "leave entry widget in", event.host_application.name else: - print _("WARNING - Caribou: unhandled editable widget:"), event.source + if debug == True: + print _("WARNING - Caribou: unhandled editable widget:"), event.source - # Firefox does report leave entry widget events. + # Firefox does not report leave entry widget events. # This could be a way to get the entry widget leave events. #else: # if event.detail1 == 1: @@ -180,3 +181,5 @@ class Caribou: if debug == True: print "deregisterKeystrokeListener" gtk.main_quit() + + |