From: Simon Schampijer <si...@schampijer.de>

see as well #2291 for more info. This one is important for 0.90.
---
 webtoolbar.py |    2 +-
 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)
-- 
1.7.2.2

_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to