Make sure MunkiStatus app has active appearance at launch over the loginwindow

This commit is contained in:
Greg Neagle
2014-08-15 16:30:46 -07:00
parent 7234375088
commit 2ff9b08ad9
@@ -36,6 +36,8 @@ class MSUAppDelegate(NSObject):
if consoleuser == None or consoleuser == u"loginwindow":
# don't show menu bar
NSMenu.setMenuBarVisible_(NO)
# make sure we're active
NSApp.activateIgnoringOtherApps_(YES)
def applicationDidFinishLaunching_(self, sender):
# Prevent automatic relaunching at login on Lion+