def add_view(self, view): """add a view object to facade""" SimpleFacade.add_view(self, view) view.update_blogs()
def __init__(self, pseudo, directory=None): if directory is None: directory = get_prefs("profile_dir") SimpleFacade.__init__(self, pseudo, directory) self._desc = PeerDescriptor(pseudo, document=CacheDocument(pseudo, directory), blog=Blogs(pseudo, directory))
def __init__(self, pseudo, directory=PROFILE_DIR): SimpleFacade.__init__(self, pseudo, directory) self._desc = PeerDescriptor(pseudo, document=CacheDocument(pseudo, directory), blog=Blogs(pseudo, directory))
def load(self): """load .profile.solipsis""" SimpleFacade.load(self) self.update_blogs()
def __init__(self, pseudo, directory=PROFILE_DIR): SimpleFacade.__init__(self, pseudo, directory) self._desc = PeerDescriptor(pseudo, document=FilterDocument(pseudo, directory))