Home
last modified time | relevance | path

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

/external/selinux/policycoreutils/gui/
DloginsPage.py90 liststore = gtk.ListStore(gobject.TYPE_STRING)
91 self.loginsSelinuxUserCombo.set_model(liststore)
103 iter = liststore.get_iter_first()
104 while liststore.get_value(iter, 0) != "user_u":
105 iter = liststore.iter_next(iter)
116 liststore = self.loginsSelinuxUserCombo.get_model()
117 iter = liststore.get_iter_first()
118 while iter != None and liststore.get_value(iter, 0) != seuser:
119 iter = liststore.iter_next(iter)
DfcontextPage.py100 liststore = self.fcontextFileTypeCombo.get_model()
103 iter = liststore.append()
104 liststore.set_value(iter, 0, k)
105 iter = liststore.get_iter_first()
159 liststore = self.fcontextFileTypeCombo.get_model()
160 iter = liststore.get_iter_first()
161 while iter != None and liststore.get_value(iter, 0) != type:
162 iter = liststore.iter_next(iter)
DportsPage.py66 liststore = self.ports_protocol_combo.get_model()
67 iter = liststore.get_iter_first()
172 liststore = self.ports_protocol_combo.get_model()
173 iter = liststore.get_iter_first()
174 while iter != None and liststore.get_value(iter, 0) != protocol:
175 iter = liststore.iter_next(iter)
/external/selinux/policycoreutils/sepolicy/sepolicy/
Dgui.py693 visible = self.liststore.get_value(iter, 3)
696 self.fix_mislabeled(self.liststore.get_value(iter, 0))
699 bool_name = self.liststore.get_value(iter, 1)
937 liststore = combobox.get_model()
938 for i in liststore:
944 niter = liststore.get_iter(ctr - 1)
945 if liststore.get_value(niter, 0) == _("More..."):
946 iter = liststore.insert_before(niter)
949 iter = liststore.append()
950 liststore.set_value(iter, 0, val)
[all …]