KIM: window settings
authorZhanna Tsitkov <tsitkova@mit.edu>
Thu, 18 Dec 2008 16:21:10 +0000 (16:21 +0000)
committerZhanna Tsitkov <tsitkova@mit.edu>
Thu, 18 Dec 2008 16:21:10 +0000 (16:21 +0000)
Ticket: 6290

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21543 dc483132-0cff-0310-8789-dd5450dbe970

src/kim/agent/mac/AuthenticationController.m
src/kim/agent/mac/SelectIdentityController.m

index ea94d6b5b4b1a424626d0049e092dfc268671cd4..5a9c8b6f191f0bc728ac66df49d3e55886bebb8c 100644 (file)
@@ -75,8 +75,8 @@
 {
     [[self window] center];
     // We need to float over the loginwindow and SecurityAgent so use its hardcoded level.
-    [[self window] setLevel:NSScreenSaverWindowLevel];
-    
+    [[self window] setLevel:NSModalPanelWindowLevel];    
+
     visibleAsSheet = NO;
     
     lifetimeFormatter.displaySeconds = NO;
index b89e698da3529ed4190bdbf3150d23c4e92dddbd..757848ab13ffc0e3092967d4541cad5d258caa75 100644 (file)
@@ -55,7 +55,7 @@
     NSString *message = nil;
     
     [[self window] center];
-    [[self window] setLevel:NSScreenSaverWindowLevel];
+    [[self window] setLevel:NSModalPanelWindowLevel];
     
     longTimeFormatter.displaySeconds = NO;
     longTimeFormatter.displayShortFormat = NO;