Home
last modified time | relevance | path

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

/external/selinux/gui/
DloginsPage.py97 liststore = gtk.ListStore(gobject.TYPE_STRING)
98 self.loginsSelinuxUserCombo.set_model(liststore)
108 iter = liststore.get_iter_first()
109 while liststore.get_value(iter, 0) != "user_u":
110 iter = liststore.iter_next(iter)
121 liststore = self.loginsSelinuxUserCombo.get_model()
122 iter = liststore.get_iter_first()
123 while iter != None and liststore.get_value(iter, 0) != seuser:
124 iter = liststore.iter_next(iter)
DportsPage.py77 liststore = self.ports_protocol_combo.get_model()
78 iter = liststore.get_iter_first()
179 liststore = self.ports_protocol_combo.get_model()
180 iter = liststore.get_iter_first()
181 while iter != None and liststore.get_value(iter, 0) != protocol:
182 iter = liststore.iter_next(iter)
DfcontextPage.py158 liststore = self.fcontextFileTypeCombo.get_model()
159 iter = liststore.get_iter_first()
160 while iter != None and liststore.get_value(iter, 0) != type:
161 iter = liststore.iter_next(iter)
/external/selinux/python/sepolicy/sepolicy/
Dgui.py700 visible = self.liststore.get_value(iter, 3)
703 self.fix_mislabeled(self.liststore.get_value(iter, 0))
706 bool_name = self.liststore.get_value(iter, 1)
943 liststore = combobox.get_model()
944 for i in liststore:
950 niter = liststore.get_iter(ctr - 1)
951 if liststore.get_value(niter, 0) == _("More..."):
952 iter = liststore.insert_before(niter)
955 iter = liststore.append()
956 liststore.set_value(iter, 0, val)
[all …]