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