gui: delete overridden definition of usersPage.delete()
Function delete() is defined twice in class usersPage and the first one invoke semanagePage.delete(), which does not exist. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
This commit is contained in:
parent
3b5e8fb842
commit
7b0f5a12f4
|
@ -91,10 +91,6 @@ class usersPage(semanagePage):
|
|||
self.store.set_value(iter, 2, dict[k][3])
|
||||
self.view.get_selection().select_path((0,))
|
||||
|
||||
def delete(self):
|
||||
if semanagePage.delete(self) == Gtk.ResponseType.NO:
|
||||
return None
|
||||
|
||||
def dialogInit(self):
|
||||
store, iter = self.view.get_selection().get_selected()
|
||||
self.selinuxUserEntry.set_text(store.get_value(iter, 0))
|
||||
|
|
Loading…
Reference in New Issue