12
12
COL_CAT_QUERY) = range(3)
14
14
class CategoriesModel(gtk.ListStore):
15
def __init__(self, datadir, xapiandb, icons):
15
def __init__(self, desktopdir, xapiandb, icons):
16
16
gtk.ListStore.__init__(self, str, gtk.gdk.Pixbuf, object)
18
18
for key in sorted(cat.keys()):
19
19
(iconname, query) = cat[key]
20
20
icon = icons.load_icon(iconname, 24, 0)