From 9a39dd40642cd3184d2d2db07f27f005ba31accf Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Wed, 1 Sep 2010 18:51:01 +0300 Subject: [PATCH] Revert "Added measurement units to pg/cpu/dronebay/dronebandwidth as suggested in 5) ticket #1" This reverts commit f527253573d2648b7d227fc29f512f4c1ad22cc8. --- gui/statsPane.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/gui/statsPane.py b/gui/statsPane.py index 7428521e7..35dbd0f9d 100644 --- a/gui/statsPane.py +++ b/gui/statsPane.py @@ -353,27 +353,7 @@ class StatsPane(wx.Panel): lbl = wx.StaticText(parent, wx.ID_ANY, "0") setattr(self, "label%sTotal%s" % (panel.capitalize(), capitalizedType), lbl) absolute.Add(lbl, 0, wx.ALIGN_LEFT) - - if type == "cpu": - lbl = wx.StaticText(parent, wx.ID_ANY, " tf") - setattr(self, "label%sMEASUREUNIT" % capitalizedType, lbl) - absolute.Add(lbl, 0, wx.ALIGN_LEFT) - - if type == "pg": - lbl = wx.StaticText(parent, wx.ID_ANY, " GJ") - setattr(self, "label%sMEASUREUNIT" % capitalizedType, lbl) - absolute.Add(lbl, 0, wx.ALIGN_LEFT) - - if type == "droneBandwidth": - lbl = wx.StaticText(parent, wx.ID_ANY, " mbit/s") - setattr(self, "label%sMEASUREUNIT" % capitalizedType, lbl) - absolute.Add(lbl, 0, wx.ALIGN_LEFT) - if type == "droneBay": - lbl = wx.StaticText(parent, wx.ID_ANY, u" m\u00B3") - setattr(self, "label%sMEASUREUNIT" % capitalizedType, lbl) - absolute.Add(lbl, 0, wx.ALIGN_LEFT) - # Gauges modif. - Darriele if self._showNormalGauges == True: gauge = wx.Gauge(parent, wx.ID_ANY, 100)