Mercurial > libervia-web
comparison src/browser/libervia_main.py @ 644:7692bbfe0b2f frontends_multi_profiles
browser side: call of parent profilePlugged for overriden method
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 24 Feb 2015 20:27:31 +0100 |
parents | 3e4826948eef |
children | 122b4483dac4 |
comparison
equal
deleted
inserted
replaced
643:3e4826948eef | 644:7692bbfe0b2f |
---|---|
340 # count = [0] # used to do something similar to DeferredList | 340 # count = [0] # used to do something similar to DeferredList |
341 # for cat, name in C.CACHED_PARAMS: | 341 # for cat, name in C.CACHED_PARAMS: |
342 # self.bridge.call('asyncGetParamA', param_cb(cat, name, count), name, cat) | 342 # self.bridge.call('asyncGetParamA', param_cb(cat, name, count), name, cat) |
343 | 343 |
344 def profilePlugged(self, dummy): | 344 def profilePlugged(self, dummy): |
345 QuickApp.profilePlugged(self, dummy) | |
345 # we fill the panels already here | 346 # we fill the panels already here |
346 for widget in self.widgets.getWidgets(blog.MicroblogPanel): | 347 for widget in self.widgets.getWidgets(blog.MicroblogPanel): |
347 if widget.accept_all(): | 348 if widget.accept_all(): |
348 self.bridge.getMassiveLastMblogs('ALL', [], 10, profile=C.PROF_KEY_NONE, callback=widget.massiveInsert) | 349 self.bridge.getMassiveLastMblogs('ALL', [], 10, profile=C.PROF_KEY_NONE, callback=widget.massiveInsert) |
349 else: | 350 else: |