diff browser_side/panels.py @ 191:8213e22c1120

browser side: WebPanel now react on [ENTER] press on URL textBox
author Goffi <goffi@goffi.org>
date Sun, 03 Mar 2013 23:26:09 +0100
parents abebe6d55e0a
children cf5c83e7d515
line wrap: on
line diff
--- a/browser_side/panels.py	Sun Mar 03 22:16:29 2013 +0100
+++ b/browser_side/panels.py	Sun Mar 03 23:26:09 2013 +0100
@@ -839,7 +839,7 @@
         LiberviaWidget.__init__(self, host)
         self._vpanel = VerticalPanel()
         self._vpanel.setSize('100%', '100%')
-        self._url = TextBox()
+        self._url = dialog.ExtTextBox(enter_cb = self.onUrlClick)
         self._url.setText(url or "")
         self._url.setWidth('100%')
         hpanel = HorizontalPanel()