From 861fa3abe54dffb621c88eed10b1d041bb6ba4d9 Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Tue, 22 Sep 2009 20:51:02 -0300 Subject: improved traffic text --- net_monitor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net_monitor.py') diff --git a/net_monitor.py b/net_monitor.py index d4ce7c4..4129df4 100755 --- a/net_monitor.py +++ b/net_monitor.py @@ -206,8 +206,8 @@ class LoadGraph: if val == 0 and self.maxval != 0: val = self.maxval - self.__str_max = "%d %s" % (val, _("KB")) - self.__str_mid = "%d %s" % (val/2, _("KB")) + self.__str_max = "%d %s" % (val, _("Bytes")) + self.__str_mid = "%d %s" % (val/2, _("Bytes")) LoadGraph.padding["left"] = self.__context.text_extents(self.__str_max)[2] + 10 def __on_size(self, rect): -- cgit v1.2.1