mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
Make context menu items enabled even if the window isn't active.
Also fixed a little spacing with the buttons.
This commit is contained in:
@@ -28,12 +28,18 @@
|
||||
#import "Utils.h"
|
||||
|
||||
#define BUTTON_WIDTH 14.0
|
||||
#define BUTTON_TO_TOP 32.5
|
||||
#define AREA_CENTER 23.0
|
||||
#define BUTTON_TO_TOP 33.5
|
||||
#define AREA_CENTER 21.0
|
||||
#define DISTANCE_FROM_CENTER 2.5
|
||||
|
||||
@implementation TorrentTableView
|
||||
|
||||
- (void) awakeFromNib
|
||||
{
|
||||
[fContextRow setTitle: @"Context"];
|
||||
[fContextNoRow setTitle: @"Context"];
|
||||
}
|
||||
|
||||
- (void) setTorrents: (NSArray *) torrents
|
||||
{
|
||||
fTorrents = torrents;
|
||||
|
||||
Reference in New Issue
Block a user