예제 #1
0
 def property_total_bytes_value_change(self, model, old, new):
     if old != new and new != '':
         self.view['total_bytes_label'].set_text(bytes_repr(new))
         logger.info("Total bytes: %d", new)
예제 #2
0
 def property_tx_bytes_value_change(self, model, old, new):
     if old != new:
         self.view['tx_bytes_label'].set_text(bytes_repr(new))
         logger.info("Bytes tx: %d", new)