Removed code in awakeFromNib that set the text in the status and detail fields to default values; this was sometimes writing over the initial message from munkistatus.py.

git-svn-id: http://munki.googlecode.com/svn/trunk@441 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2010-02-05 22:02:27 +00:00
parent 28d3f1596d
commit 5cb0aac96c
+4 -4
View File
@@ -120,10 +120,10 @@ class MSController(NSObject):
if self.imageFld:
theImage = NSImage.imageNamed_("MunkiStatus")
self.imageFld.setImage_(theImage)
if self.messageFld:
self.messageFld.setStringValue_(u"Working...")
if self.detailFld:
self.detailFld.setStringValue_(u"")
#if self.messageFld:
# self.messageFld.setStringValue_(u"Working...")
#if self.detailFld:
# self.detailFld.setStringValue_(u"")
if self.progressIndicator:
self.progressIndicator.setMinValue_(0.0)
self.progressIndicator.setMaxValue_(100.0)