From b491a98b25a4318d35d2bdc121210b5636872608 Mon Sep 17 00:00:00 2001 From: Gary Martin Date: Sat, 12 Sep 2009 03:09:19 +0000 Subject: Fixed blocked keyboard input for new toolbars (was checking old toolbar widgets for focus). --- diff --git a/calculate.py b/calculate.py index 0462653..673e002 100644 --- a/calculate.py +++ b/calculate.py @@ -699,8 +699,7 @@ class Calculate(ShareableActivity): self.remove_character(1) def keypress_cb(self, widget, event): - if self.label_entry.is_focus() or \ - self.toolbox.get_activity_toolbar().title.is_focus(): + if not self.text_entry.is_focus(): return key = gtk.gdk.keyval_name(event.keyval) -- cgit v0.9.1