Esempio n. 1
0
 def on_txt_description_changed(self, widget):
     """Check the service description field"""
     check_invalid_input(widget, False, True, False)
Esempio n. 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'))
Esempio n. 3
0
 def on_txt_name_changed(self, widget):
     """Check the service name field"""
     check_invalid_input(widget, False, False, False)
Esempio n. 4
0
 def on_txt_community_changed(self, widget):
     """Check the community string field"""
     check_invalid_input(widget, False, True, True)
Esempio n. 5
0
 def on_txt_name_changed(self, widget):
     """Check the service name field"""
     check_invalid_input(widget, False, False, False)
Esempio n. 6
0
 def on_txt_address_changed(self, widget):
     """Check the host address field"""
     check_invalid_input(widget, False, False, False)
Esempio n. 7
0
 def on_txt_description_changed(self, widget):
     """Check the host description field"""
     check_invalid_input(widget, False, True, True)
Esempio n. 8
0
 def on_txt_community_changed(self, widget):
     """Check the community string field"""
     check_invalid_input(widget, False, True, True)
Esempio n. 9
0
 def on_txt_address_changed(self, widget):
     """Check the host address field"""
     check_invalid_input(widget, False, False, False)
Esempio n. 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'))