comparison src/cagou/core/menu.py @ 53:65775152aac1

xmlui: implemented most of XMLUI, not finished yet most of XMLUI should be working now, some elements are still missing (notably TabsContainer), but they will be implemented soon.
author Goffi <goffi@goffi.org>
date Sun, 11 Sep 2016 23:27:16 +0200
parents 3f8599d9a766
children c2a7234d13d2
comparison
equal deleted inserted replaced
52:647f32d0a004 53:65775152aac1
84 except (AttributeError, IndexError): 84 except (AttributeError, IndexError):
85 try: 85 try:
86 profile = list(G.host.profiles)[0] 86 profile = list(G.host.profiles)[0]
87 except IndexError: 87 except IndexError:
88 log.warning(u"Can't find profile") 88 log.warning(u"Can't find profile")
89
90 self.item.call(selected, profile) 89 self.item.call(selected, profile)
91 90
92 91
93 class MenuSeparator(Widget): 92 class MenuSeparator(Widget):
94 pass 93 pass