comparison src/browser/sat_browser/main_panel.py @ 696:c2f22ca12e23

browser and server side: remove unibox
author souliane <souliane@mailoo.org>
date Mon, 20 Apr 2015 08:51:25 +0200
parents 76a67d04c63e
children fc941d0d97f8
comparison
equal deleted inserted replaced
695:e86490a7c76e 696:c2f22ca12e23
79 @msg: message to be displayed 79 @msg: message to be displayed
80 """ 80 """
81 if type_ == "NONE": 81 if type_ == "NONE":
82 return 82 return
83 if not msg: 83 if not msg:
84 log.warning("no msg set uniBox warning") 84 log.warning("no msg set")
85 return 85 return
86 if type_ == "PUBLIC": 86 if type_ == "PUBLIC":
87 style = "targetPublic" 87 style = "targetPublic"
88 elif type_ == "GROUP": 88 elif type_ == "GROUP":
89 style = "targetGroup" 89 style = "targetGroup"
294 self._contacts.removeFromParent() 294 self._contacts.removeFromParent()
295 parent.insert(self._contacts, 0) 295 parent.insert(self._contacts, 0)
296 296
297 def refresh(self): 297 def refresh(self):
298 """Refresh the main panel""" 298 """Refresh the main panel"""
299 self.unibox_panel.refresh()
300 self.host.contact_panel.refresh() 299 self.host.contact_panel.refresh()
301 300
302 301