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:
Nicolas Iooss 2017-10-01 18:15:16 +02:00 committed by Jason Zaman
parent 3b5e8fb842
commit 7b0f5a12f4
1 changed files with 0 additions and 4 deletions

View File

@ -91,10 +91,6 @@ class usersPage(semanagePage):
self.store.set_value(iter, 2, dict[k][3]) self.store.set_value(iter, 2, dict[k][3])
self.view.get_selection().select_path((0,)) self.view.get_selection().select_path((0,))
def delete(self):
if semanagePage.delete(self) == Gtk.ResponseType.NO:
return None
def dialogInit(self): def dialogInit(self):
store, iter = self.view.get_selection().get_selected() store, iter = self.view.get_selection().get_selected()
self.selinuxUserEntry.set_text(store.get_value(iter, 0)) self.selinuxUserEntry.set_text(store.get_value(iter, 0))