comparison src/browser/sat_browser/panels.py @ 498:60be99de3808

browser_side: menus refactorization + handle levels > 2
author souliane <souliane@mailoo.org>
date Fri, 25 Jul 2014 02:38:30 +0200
parents 0924710b666a
children ec3f30253040
comparison
equal deleted inserted replaced
497:516b06787c1a 498:60be99de3808
1173 return self.target.bare == entity.bare and self.type == type_ 1173 return self.target.bare == entity.bare and self.type == type_
1174 except AttributeError as e: 1174 except AttributeError as e:
1175 e.include_traceback() 1175 e.include_traceback()
1176 return False 1176 return False
1177 1177
1178 def addCachedMenus(self, menu_bar): 1178 def addMenus(self, menu_bar):
1179 """Add cached menus to the header. 1179 """Add cached menus to the header.
1180 1180
1181 @param menu_bar (GenericMenuBar): menu bar of the widget's header 1181 @param menu_bar (GenericMenuBar): menu bar of the widget's header
1182 """ 1182 """
1183 if self.type == 'group': 1183 if self.type == 'group':