mirror of
https://github.com/munki/munki.git
synced 2026-04-22 12:38:23 -05:00
Fix for incorrectly initialized KVO arrays in Managed Software Update.app; bumped MSU.app to version 3.0.6; bumped munkitools version to 0.6.0.757.0.
git-svn-id: http://munki.googlecode.com/svn/trunk@758 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -17,11 +17,11 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>3.0.5</string>
|
||||
<string>3.0.6</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>3.0.5</string>
|
||||
<string>3.0.6</string>
|
||||
<key>NSMainNibFile</key>
|
||||
<string>MainMenu</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
|
||||
@@ -109,8 +109,10 @@ class MSUAppDelegate(NSObject):
|
||||
self.managedsoftwareupdate_task = None
|
||||
self._listofupdates = []
|
||||
self.getAvailableUpdates()
|
||||
#NSLog(u"Building table of available updates.")
|
||||
self.buildUpdateTableData()
|
||||
if self._optionalInstalls:
|
||||
#NSLog(u"Building table of optional software.")
|
||||
self.buildOptionalInstallsData()
|
||||
self.mainWindowController.theWindow.makeKeyAndOrderFront_(self)
|
||||
if self._listofupdates:
|
||||
|
||||
@@ -33,7 +33,8 @@ class MSUOptionalInstallsViewController(NSViewController):
|
||||
window_controller = IBOutlet()
|
||||
AddRemoveBtn = IBOutlet()
|
||||
|
||||
_optionallist = NSArray.arrayWithArray_([{"installed": NO, "install": NO, "name": "", "version": "",
|
||||
_optionallist = NSArray.arrayWithArray_([{"installed": NO, "managed": NO, "original_managed": NO,
|
||||
"name": "", "version": "",
|
||||
"description": "", "size": "", "enabled": NO,
|
||||
"status": "", "original_status": ""}])
|
||||
|
||||
|
||||
@@ -35,7 +35,9 @@ class MSUupdatesViewController(NSViewController):
|
||||
window_controller = IBOutlet()
|
||||
updateNowBtn = IBOutlet()
|
||||
|
||||
_updatelist = NSArray.arrayWithArray_([{"image": NSImage.imageNamed_("Empty.png"), "name": "", "version": "", "description": ""}])
|
||||
_updatelist = NSArray.arrayWithArray_([{"image": NSImage.imageNamed_("Empty.png"),
|
||||
"name": "", "version": "", "size": "",
|
||||
"description": ""}])
|
||||
|
||||
def updatelist(self):
|
||||
return self._updatelist
|
||||
|
||||
Reference in New Issue
Block a user