Home
last modified time | relevance | path

Searched refs:liststore (Results 1 – 4 of 4) sorted by relevance

/external/selinux/gui/
DloginsPage.py93 liststore = Gtk.ListStore(GObject.TYPE_STRING)
94 self.loginsSelinuxUserCombo.set_model(liststore)
104 iter = liststore.get_iter_first()
105 while liststore.get_value(iter, 0) != "user_u":
106 iter = liststore.iter_next(iter)
117 liststore = self.loginsSelinuxUserCombo.get_model()
118 iter = liststore.get_iter_first()
119 while iter != None and liststore.get_value(iter, 0) != seuser:
120 iter = liststore.iter_next(iter)
DportsPage.py74 liststore = self.ports_protocol_combo.get_model()
75 iter = liststore.get_iter_first()
176 liststore = self.ports_protocol_combo.get_model()
177 iter = liststore.get_iter_first()
178 while iter != None and liststore.get_value(iter, 0) != protocol:
179 iter = liststore.iter_next(iter)
DfcontextPage.py155 liststore = self.fcontextFileTypeCombo.get_model()
156 iter = liststore.get_iter_first()
157 while iter != None and liststore.get_value(iter, 0) != type:
158 iter = liststore.iter_next(iter)
/external/selinux/python/sepolicy/sepolicy/
Dgui.py699 visible = self.liststore.get_value(iter, 3)
702 self.fix_mislabeled(self.liststore.get_value(iter, 0))
705 bool_name = self.liststore.get_value(iter, 1)
942 liststore = combobox.get_model()
943 for i in liststore:
949 niter = liststore.get_iter(ctr - 1)
950 if liststore.get_value(niter, 0) == _("More..."):
951 iter = liststore.insert_before(niter)
954 iter = liststore.append()
955 liststore.set_value(iter, 0, val)
[all …]