def update_info_f(self):
     self.pushList = pbapi.get_pushes() + self.client.pushStream
     self.register(Event(self.update))
 def view_history_f(self):
     history = pbapi.get_pushes(active=False)
     self.window_history.history_list = history
     for push in history:
         self.window_history.list_options.append((push.data.title, None))