# HG changeset patch # User souliane # Date 1384013525 -3600 # Node ID 377de26d5bc243ab44d9909adace93fad398c868 # Parent 0e7f3944bd278a268ecda38c6c54e69b75fe7197 browser_side: open the web widget in the current tab diff -r 0e7f3944bd27 -r 377de26d5bc2 browser_side/menu.py --- a/browser_side/menu.py Sat Nov 09 09:39:45 2013 +0100 +++ b/browser_side/menu.py Sat Nov 09 17:12:05 2013 +0100 @@ -183,7 +183,8 @@ #General menu def onWebWidget(self): web_panel = panels.WebPanel(self.host, "http://www.goffi.org") - self.host.addTab(web_panel, "Web widget") + self.host.addWidget(web_panel) + self.host.setSelected(web_panel) def onDisconnect(self): def confirm_cb(answer):