gui/polgengui.py: Use stop_emission_by_name instead of emit_stop_by_name

Fixes:
/usr/share/system-config-selinux/polgengui.py:679: PyGIDeprecationWarning: Deprecated, please use stop_emission_by_name.
  entry.emit_stop_by_name("insert_text")

Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
This commit is contained in:
Petr Lautrbach 2018-02-22 18:29:01 +01:00 committed by stephensmalley
parent df135b07a7
commit bb6b4c661b

View File

@ -674,7 +674,7 @@ class childWindow:
def on_name_entry_changed(self, entry, text, size, position):
if text.find(" ") >= 0:
entry.emit_stop_by_name("insert_text")
entry.stop_emission_by_name("insert-text")
def on_focus_out_event(self, entry, third):
name = entry.get_text()