mirror of
https://github.com/transmission/transmission
synced 2025-02-21 13:46:52 +00:00
give the message window a "brushed" look
This commit is contained in:
parent
1ecfc0ac00
commit
558e612853
3 changed files with 4916 additions and 4911 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -24,6 +24,7 @@
|
||||||
|
|
||||||
#import "MessageWindowController.h"
|
#import "MessageWindowController.h"
|
||||||
#import "NSStringAdditions.h"
|
#import "NSStringAdditions.h"
|
||||||
|
#import "NSApplicationAdditions.h"
|
||||||
#import <transmission.h>
|
#import <transmission.h>
|
||||||
|
|
||||||
#define LEVEL_ERROR 0
|
#define LEVEL_ERROR 0
|
||||||
|
@ -66,6 +67,9 @@
|
||||||
[[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(resizeColumn)
|
[[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(resizeColumn)
|
||||||
name: @"NSTableViewColumnDidResizeNotification" object: fMessageTable];
|
name: @"NSTableViewColumnDidResizeNotification" object: fMessageTable];
|
||||||
|
|
||||||
|
if ([NSApp isOnLeopardOrBetter])
|
||||||
|
[window setContentBorderThickness: [[fMessageTable enclosingScrollView] frame].origin.y forEdge: NSMinYEdge];
|
||||||
|
|
||||||
//initially sort peer table by IP
|
//initially sort peer table by IP
|
||||||
if ([[fMessageTable sortDescriptors] count] == 0)
|
if ([[fMessageTable sortDescriptors] count] == 0)
|
||||||
[fMessageTable setSortDescriptors: [NSArray arrayWithObject: [[fMessageTable tableColumnWithIdentifier: @"Date"]
|
[fMessageTable setSortDescriptors: [NSArray arrayWithObject: [[fMessageTable tableColumnWithIdentifier: @"Date"]
|
||||||
|
|
Loading…
Reference in a new issue