mirror of
https://github.com/munki/munki.git
synced 2026-04-24 05:49:42 -05:00
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user