Skip to content

Commit

Permalink
Keep Bookmark and Prefs window in the Spaces screen you're in instead…
Browse files Browse the repository at this point in the history
… of switching to the app's original screen. Fixes bug 147.
  • Loading branch information
gnachman committed Sep 23, 2010
1 parent 7f48599 commit c785b33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions BookmarksWindow.m
Expand Up @@ -54,6 +54,7 @@ - (id)initWithWindowNibName:(NSString *)windowNibName
// Force the window to load
[self window];
[[self window] setDelegate:self];
[[self window] setCollectionBehavior:NSWindowCollectionBehaviorMoveToActiveSpace];
[tableView_ setDelegate:self];
[tableView_ allowMultipleSelection];
[tableView_ multiColumns];
Expand Down
1 change: 1 addition & 0 deletions PreferencePanel.m
Expand Up @@ -169,6 +169,7 @@ - (void)setOneBokmarkOnly
- (void)awakeFromNib
{
[self window];
[[self window] setCollectionBehavior:NSWindowCollectionBehaviorMoveToActiveSpace];
NSAssert(bookmarksTableView, @"Null table view");
[bookmarksTableView setDataSource:dataSource];

Expand Down

0 comments on commit c785b33

Please sign in to comment.