comparison src/browser/libervia_main.py @ 643:3e4826948eef frontends_multi_profiles

browser side: do a hard reload on disconnected signal
author Goffi <goffi@goffi.org>
date Tue, 24 Feb 2015 19:15:28 +0100
parents 7113d40533d6
children 7692bbfe0b2f
comparison
equal deleted inserted replaced
642:5af02673d047 643:3e4826948eef
363 return contact_list 363 return contact_list
364 364
365 def newWidget(self, widget): 365 def newWidget(self, widget):
366 log.debug("newWidget: {}".format(widget)) 366 log.debug("newWidget: {}".format(widget))
367 self.addWidget(widget) 367 self.addWidget(widget)
368
369 def disconnectedHandler(self, profile):
370 QuickApp.disconnectedHandler(self, profile)
371 Window.getLocation().reload()
368 372
369 def setStatusOnline(self, online=True, show="", statuses={}, profile=C.PROF_KEY_NONE): 373 def setStatusOnline(self, online=True, show="", statuses={}, profile=C.PROF_KEY_NONE):
370 log.warning("setStatusOnline is not implemented, as session are for unique profile which is always online for now") 374 log.warning("setStatusOnline is not implemented, as session are for unique profile which is always online for now")
371 375
372 def _tryAutoConnect(self, skip_validation=False): 376 def _tryAutoConnect(self, skip_validation=False):