aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.com>2009-09-22 20:51:02 -0300
committerEugeni Dodonov <eugeni@mandriva.com>2009-09-22 20:51:02 -0300
commit861fa3abe54dffb621c88eed10b1d041bb6ba4d9 (patch)
treeb95962125cab4ef13f3af8888014be0470b0998e
parent57db045f93bf252f7c430968dfa89109777d051d (diff)
downloadnet_monitor-861fa3abe54dffb621c88eed10b1d041bb6ba4d9.tar
net_monitor-861fa3abe54dffb621c88eed10b1d041bb6ba4d9.tar.gz
net_monitor-861fa3abe54dffb621c88eed10b1d041bb6ba4d9.tar.bz2
net_monitor-861fa3abe54dffb621c88eed10b1d041bb6ba4d9.tar.xz
net_monitor-861fa3abe54dffb621c88eed10b1d041bb6ba4d9.zip
improved traffic text
-rwxr-xr-xnet_monitor.py4
1 files changed, 2 insertions, 2 deletions
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):