85 p.text = "Open:"; |
85 p.text = "Open:"; |
86 p:show(); |
86 p:show(); |
87 i.text = (w:get_current() or {}).uri or ""; |
87 i.text = (w:get_current() or {}).uri or ""; |
88 i:show(); |
88 i:show(); |
89 i:focus(); |
89 i:focus(); |
|
90 -- Requires patch to 2010.08.30: |
|
91 -- http://matthewwild.co.uk/code/luakit-select-region.patch |
90 i:select_region(0); |
92 i:select_region(0); |
91 end; |
93 end; |
92 activate = function (w, url) |
94 activate = function (w, url) |
93 w:navigate(url); |
95 w:navigate(url); |
94 w:set_mode(); |
96 w:set_mode(); |