def __init__(self, icons): # icon, status, progress gtk.ListStore.__init__(self, str, gtk.gdk.Pixbuf, str, str, float, str) TransactionsWatcher.__init__(self) # data self.icons = icons # the apt-daemon stuff self.apt_client = aptdaemon.client.AptClient() self._signals = []
def __init__(self): gobject.GObject.__init__(self) TransactionsWatcher.__init__(self) self.aptd_client = client.AptClient() self.pending_transactions = {} self._progress_signal = None