Revert "Added measurement units to pg/cpu/dronebay/dronebandwidth as suggested in 5) ticket #1"

This reverts commit f527253573.
This commit is contained in:
HomeWorld
2010-09-01 18:51:01 +03:00
parent f527253573
commit 9a39dd4064

View File

@@ -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)