Skip to content

Commit

Permalink
Place info tab to right
Browse files Browse the repository at this point in the history
  • Loading branch information
ashchan committed Nov 18, 2014
1 parent 3d1496b commit a35cc59
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Classes/GNPreferencesController.m
Expand Up @@ -13,6 +13,20 @@
#import "PrefsInfoViewController.h"
#import "GNPreferences.h"

@interface GNToolbarFlexibleModule : NSObject

@property (copy, readonly) NSString *identifier;

@end

@implementation GNToolbarFlexibleModule

- (NSString *)identifier {
return NSToolbarFlexibleSpaceItemIdentifier;
}

@end

@interface GNPreferencesController () <NSToolbarDelegate, NSWindowDelegate>

@property (strong) id eventMonitor;
Expand All @@ -31,6 +45,7 @@ + (GNPreferencesController *)sharedController {
controller.modules = @[
[[PrefsAccountsViewController alloc] init],
[[PrefsSettingsViewController alloc] init],
[[GNToolbarFlexibleModule alloc] init],
[[PrefsInfoViewController alloc] init]
];
});
Expand Down

0 comments on commit a35cc59

Please sign in to comment.