summaryrefslogtreecommitdiff
path: root/caribou/ui/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'caribou/ui/main.py')
-rw-r--r--caribou/ui/main.py7
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()
+
+