Permalink
Browse files

keep facebook window on top of current application

  • Loading branch information...
oscardelben committed Jun 12, 2011
1 parent 074bd4f commit 6611b889560697cf470e963f01115c8761d200bd
Showing with 2 additions and 1 deletion.
  1. +2 −1 classes/PhWebViewController.m
@@ -39,7 +39,8 @@ - (void) awakeFromNib
{
NSBundle *bundle = [NSBundle bundleForClass: [PhFacebook class]];
self.window.title = [bundle localizedStringForKey: @"FBAuthWindowTitle" value: @"" table: nil];
- self.cancelButton.title = [bundle localizedStringForKey: @"FBAuthWindowCancel" value: @"" table: nil];;
+ self.cancelButton.title = [bundle localizedStringForKey: @"FBAuthWindowCancel" value: @"" table: nil];
+ self.window.level = NSFloatingWindowLevel;
}
#pragma mark Delegate

0 comments on commit 6611b88

Please sign in to comment.