diff src/browser/sat_browser/menu.py @ 648:6d3142b782c3 frontends_multi_profiles

browser_side: classes reorganisation: - moved widgets in dedicated modules (base, contact, editor, libervia) and a widget module for single classes - same thing for panels (base, main, contact) - libervia_widget mix main panels and widget and drag n drop for technical reasons (see comments) - renamed WebPanel to WebWidget
author Goffi <goffi@goffi.org>
date Thu, 26 Feb 2015 18:10:54 +0100
parents 30180021f203
children 40c72f3b7638
line wrap: on
line diff
--- a/src/browser/sat_browser/menu.py	Thu Feb 26 13:10:46 2015 +0100
+++ b/src/browser/sat_browser/menu.py	Thu Feb 26 18:10:54 2015 +0100
@@ -32,7 +32,7 @@
 import file_tools
 import xmlui
 import chat
-import panels
+import widget
 import dialog
 import contact_group
 import base_menu
@@ -100,7 +100,7 @@
 
     # General menu
     def onWebWidget(self):
-        web_widget = self.host.displayWidget(panels.WebPanel, C.WEB_PANEL_DEFAULT_URL)
+        web_widget = self.host.displayWidget(widget.WebWidget, C.WEB_PANEL_DEFAULT_URL)
         self.host.setSelected(web_widget)
 
     def onDisconnect(self):