MunkiStatus.app:

Bumped version to 2.0.3
Removed NSLog("Application will terminate.") message that went to system.log every time it quit.


git-svn-id: http://munki.googlecode.com/svn/trunk@383 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2009-11-25 19:52:45 +00:00
parent 844054c57b
commit af26f2730f
3 changed files with 13 additions and 6 deletions
+9 -3
View File
@@ -55,11 +55,14 @@ def getLoginwindowPicture():
desktopPicturePath = loginwindowPrefs.get('DesktopPicture', '')
if desktopPicturePath:
if os.path.exists(desktopPicturePath):
theImage = NSImage.alloc().initWithContentsOfFile_(desktopPicturePath)
theImage = \
NSImage.alloc().initWithContentsOfFile_(
desktopPicturePath)
if theImage:
return theImage
return NSImage.imageNamed_("Solid Aqua Blue")
theImage = NSImage.alloc().initWithContentsOfFile_("/System/Library/CoreServices/DefaultDesktop.jpg")
theImage = NSImage.alloc().initWithContentsOfFile_(
"/System/Library/CoreServices/DefaultDesktop.jpg")
if theImage:
return theImage
else:
@@ -128,7 +131,10 @@ class MSController(NSObject):
self.progressIndicator.setUsesThreadedAnimation_(True)
self.progressIndicator.startAnimation_(self)
NSThread.detachNewThreadSelector_toTarget_withObject_(self.handleSocket, self, None)
NSThread.detachNewThreadSelector_toTarget_withObject_(
self.handleSocket,
self,
None)
NSApp.activateIgnoringOtherApps_(True)
def handleSocket(self):