Permalink
Browse files

Merge pull request #21 from oscardelben/window_on_top

Keep Facebook window on top of other windows in the same application
  • Loading branch information...
2 parents 074bd4f + 6611b88 commit 0c0a676c65aa8f8b7fb072916881b87cc9acbba7 @philippec committed Jun 13, 2011
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 0c0a676

Please sign in to comment.