예제 #1
0
    def _buddy_status_changed(self):
        if check_destroyed(self):
            return

        if self.convo.ischat:
            return

        # if the buddy's online status changes, we may need to add/remove the
        # Files button
        self.capsbar.ApplyCaps(self.Buddy)

        # if we're showing the buddy's status orb in the tab/window title,
        # update those icons now.
        if self.icontype == 'status':
            self.update_icon()
예제 #2
0
    def _buddy_status_changed(self):
        if check_destroyed(self):
            return

        if self.convo.ischat:
            return

        # if the buddy's online status changes, we may need to add/remove the
        # Files button
        self.capsbar.ApplyCaps(self.Buddy)

        # if we're showing the buddy's status orb in the tab/window title,
        # update those icons now.
        if self.icontype == "status":
            self.update_icon()
예제 #3
0
 def on_xfer(self, xfers, *a):
     if check_destroyed(self): return
     log.info('ENABLE/DISABLE cleanup button: %r' % xfers)
     self.cleanup.Enable(bool(self.xferlist))
예제 #4
0
 def on_xfer(self, xfers, *a):
     if check_destroyed(self): return
     log.info('ENABLE/DISABLE cleanup button: %r' % xfers)
     self.cleanup.Enable(bool(self.xferlist))