Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucian Branescu Mihaila <lucian.branescu@gmail.com>2010-10-06 13:13:35 (GMT)
committer Lucian Branescu Mihaila <lucian.branescu@gmail.com>2010-10-06 13:13:35 (GMT)
commite8130523d74e24be64362c723a9ebed1087fc521 (patch)
treee98e66b479ef649a9487f4a6fc5c09f95ef1af22
parent79dd7673a6bffe1f203faacfa8477926e692ed9a (diff)
Simon Schampijer's patch to fix autocomplete functionality for the address.
-rw-r--r--webtoolbar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webtoolbar.py b/webtoolbar.py
index 69a3c8e..20616a4 100644
--- a/webtoolbar.py
+++ b/webtoolbar.py
@@ -160,7 +160,7 @@ class WebEntry(AddressEntry):
def __view_button_press_event_cb(self, view, event):
model = view.get_model()
- path, col_, x_, y_ = view.get_path_at_pos(event.x, event.y)
+ path, col_, x_, y_ = view.get_path_at_pos(int(event.x), int(event.y))
if path:
uri = model[path][self._COL_ADDRESS]
self.activate(uri)