예제 #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
파일: host.py 프로젝트: muflone/glivesnmp
 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
파일: host.py 프로젝트: muflone/glivesnmp
 def on_txt_address_changed(self, widget):
     """Check the host address field"""
     check_invalid_input(widget, False, False, False)
예제 #7
0
파일: host.py 프로젝트: muflone/glivesnmp
 def on_txt_description_changed(self, widget):
     """Check the host description field"""
     check_invalid_input(widget, False, True, True)
예제 #8
0
파일: host.py 프로젝트: muflone/glivesnmp
 def on_txt_community_changed(self, widget):
     """Check the community string field"""
     check_invalid_input(widget, False, True, True)
예제 #9
0
파일: host.py 프로젝트: muflone/glivesnmp
 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'))