Пример #1
0
 def on_txt_description_changed(self, widget):
     """Check the service description field"""
     check_invalid_input(widget, False, True, False)
Пример #2
0
 def on_txt_description_changed(self, widget):
     """Check the service description field"""
     check_invalid_input(widget, False, True, False)
     self.ui.txt_numeric_oid.set_text(
         snmp.snmp.translate(widget.get_text().strip()) or
         _('Unkown OID'))
Пример #3
0
 def on_txt_name_changed(self, widget):
     """Check the service name field"""
     check_invalid_input(widget, False, False, False)
Пример #4
0
 def on_txt_community_changed(self, widget):
     """Check the community string field"""
     check_invalid_input(widget, False, True, True)
Пример #5
0
 def on_txt_name_changed(self, widget):
     """Check the service name field"""
     check_invalid_input(widget, False, False, False)
Пример #6
0
 def on_txt_address_changed(self, widget):
     """Check the host address field"""
     check_invalid_input(widget, False, False, False)
Пример #7
0
 def on_txt_description_changed(self, widget):
     """Check the host description field"""
     check_invalid_input(widget, False, True, True)
Пример #8
0
 def on_txt_community_changed(self, widget):
     """Check the community string field"""
     check_invalid_input(widget, False, True, True)
Пример #9
0
 def on_txt_address_changed(self, widget):
     """Check the host address field"""
     check_invalid_input(widget, False, False, False)
Пример #10
0
 def on_txt_description_changed(self, widget):
     """Check the service description field"""
     check_invalid_input(widget, False, True, False)
     self.ui.txt_numeric_oid.set_text(
         snmp.snmp.translate(widget.get_text().strip()) or _('Unkown OID'))