diff options
Diffstat (limited to 'plugins/python/androperms/androperms.py')
-rw-r--r-- | plugins/python/androperms/androperms.py | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/plugins/python/androperms/androperms.py b/plugins/python/androperms/androperms.py index c9af7c4..a11c37d 100644 --- a/plugins/python/androperms/androperms.py +++ b/plugins/python/androperms/androperms.py @@ -96,18 +96,26 @@ class AndroPerms(Plugin): locations = gtk.TreeViewColumn() self._tree.append_column(locations) + cell = gtk.CellRendererPixbuf() + locations.pack_start(cell, False) + locations.add_attribute(cell, 'pixbuf', 0) + cell = gtk.CellRendererText() locations.pack_start(cell, False) - locations.add_attribute(cell, "text", 0) + locations.add_attribute(cell, 'text', 1) functions = gtk.TreeViewColumn() self._tree.append_column(functions) + cell = gtk.CellRendererPixbuf() + functions.pack_start(cell, False) + functions.add_attribute(cell, 'pixbuf', 2) + cell = gtk.CellRendererText() functions.pack_start(cell, True) - functions.add_attribute(cell, "text", 1) + functions.add_attribute(cell, 'text', 3) - self._store = gtk.TreeStore(str, str) + self._store = gtk.TreeStore(gtk.gdk.Pixbuf, str, gtk.gdk.Pixbuf, str) self._tree.set_model(self._store) pi = PanelItem(name="Permissions", lname="Permissions", widget=self._scrolled_window, path="SE") |