mirror of
https://github.com/munki/munki.git
synced 2026-04-24 05:49:42 -05:00
Fix for Leopard: changes for Lion/ML loginwindow status display broke Leopard status display. Changed string comparision to int comparison to fix.
This commit is contained in:
@@ -17,11 +17,11 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>3.5.1</string>
|
||||
<string>3.5.2</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>3.5.0</string>
|
||||
<string>3.5.2</string>
|
||||
<key>LSHasLocalizedDisplayName</key>
|
||||
<true/>
|
||||
<key>NSMainNibFile</key>
|
||||
|
||||
@@ -137,8 +137,8 @@ class MSUStatusWindowController(NSObject):
|
||||
screenRect = NSScreen.mainScreen().frame()
|
||||
self.backdropWindow.setFrame_display_(screenRect, True)
|
||||
|
||||
darwin_vers = os.uname()[2].split('.')[0]
|
||||
if darwin_vers < '11':
|
||||
darwin_vers = int(os.uname()[2].split('.')[0])
|
||||
if darwin_vers < 11:
|
||||
if self.backdropImageFld:
|
||||
bgImage = getLoginwindowPicture()
|
||||
self.backdropImageFld.setImage_(bgImage)
|
||||
|
||||
Reference in New Issue
Block a user