miscellaneous adjustments

This commit is contained in:
Mitchell Livingston 2007-12-08 18:51:02 +00:00
parent d3d1263a84
commit f35f65b1d4
7 changed files with 20 additions and 17 deletions

5
NEWS
View File

@ -7,14 +7,15 @@ NEWS file for Transmission <http://transmission.m0k.org/>
+ Restore `scrape' feature in the command-line interface client
+ Updated icon
- OS X:
+ Redesigned Leopard-like look
+ Statistics window
+ Pieces Bar (return of Advanced Bar)
+ Availability Bar (overlay on regular bar)
+ Redesigned Leopard-like look
+ Leopard: Time Machine will ignore incomplete downloads
+ Display remaining time for seeding transfers
+ Sort by total activity
+ Leopard: Fix bug where text fields would reject localized double values
+ Leopard: Fix bug where text fields would reject localized decimal values
+ Fix bug where dragging non-torrent files over the main window would result in excessive memory usage
- GTK+:
+ Statistics window

View File

@ -228,6 +228,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
[toolbar setDelegate: self];
[toolbar setAllowsUserCustomization: YES];
[toolbar setAutosavesConfiguration: YES];
[toolbar setDisplayMode: NSToolbarDisplayModeIconOnly];
[fWindow setToolbar: toolbar];
[toolbar release];
@ -292,7 +293,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
[fPrefsController setUpdater: fUpdater];
[fTableView setTorrents: fDisplayedTorrents];
[[fTableView tableColumnWithIdentifier: @"Torrent"] setDataCell: [[TorrentCell alloc] init]];
[[fTableView tableColumnWithIdentifier: @"Torrent"] setDataCell: [[[TorrentCell alloc] init] autorelease]];
[fTableView registerForDraggedTypes: [NSArray arrayWithObject: TORRENT_TABLE_VIEW_DATA_TYPE]];
[fWindow registerForDraggedTypes: [NSArray arrayWithObjects: NSFilenamesPboardType, NSURLPboardType, nil]];
@ -2725,7 +2726,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
GroupToolbarItem * groupItem = [[GroupToolbarItem alloc] initWithItemIdentifier: ident];
NSSegmentedControl * segmentedControl = [[NSSegmentedControl alloc] initWithFrame: NSZeroRect];
[segmentedControl setCell: [[ToolbarSegmentedCell alloc] init]];
[segmentedControl setCell: [[[ToolbarSegmentedCell alloc] init] autorelease]];
[groupItem setView: segmentedControl];
NSSegmentedCell * segmentedCell = (NSSegmentedCell *)[segmentedControl cell];
@ -2757,7 +2758,6 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
[groupItem setMaxSize: groupSize];
[segmentedControl release];
return [groupItem autorelease];
}
else if ([ident isEqualToString: TOOLBAR_PAUSE_RESUME_SELECTED])
@ -2765,7 +2765,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
GroupToolbarItem * groupItem = [[GroupToolbarItem alloc] initWithItemIdentifier: ident];
NSSegmentedControl * segmentedControl = [[NSSegmentedControl alloc] initWithFrame: NSZeroRect];
[segmentedControl setCell: [[ToolbarSegmentedCell alloc] init]];
[segmentedControl setCell: [[[ToolbarSegmentedCell alloc] init] autorelease]];
[groupItem setView: segmentedControl];
NSSegmentedCell * segmentedCell = (NSSegmentedCell *)[segmentedControl cell];

View File

@ -56,6 +56,8 @@
<dict>
<key>ACTIONS</key>
<dict>
<key>allToolbarClicked</key>
<string>id</string>
<key>announceSelectedTorrents</key>
<string>id</string>
<key>applyFilter</key>
@ -102,6 +104,8 @@
<string>id</string>
<key>revealFile</key>
<string>id</string>
<key>selectedToolbarClicked</key>
<string>id</string>
<key>setFilter</key>
<string>id</string>
<key>setFilterSearchType</key>
@ -236,6 +240,14 @@
<key>SUPERCLASS</key>
<string>NSObject</string>
</dict>
<dict>
<key>CLASS</key>
<string>FilterButton</string>
<key>LANGUAGE</key>
<string>ObjC</string>
<key>SUPERCLASS</key>
<string>NSButton</string>
</dict>
<dict>
<key>ACTIONS</key>
<dict>
@ -274,14 +286,6 @@
<key>SUPERCLASS</key>
<string>NSTableView</string>
</dict>
<dict>
<key>CLASS</key>
<string>FilterButton</string>
<key>LANGUAGE</key>
<string>ObjC</string>
<key>SUPERCLASS</key>
<string>NSButton</string>
</dict>
<dict>
<key>CLASS</key>
<string>ActionPopUpButton</string>

View File

@ -10,7 +10,7 @@
<integer>5</integer>
<key>IBOpenObjects</key>
<array>
<integer>1480</integer>
<integer>2351</integer>
</array>
<key>IBSystem Version</key>
<string>9B18</string>

Binary file not shown.

View File

@ -24,7 +24,6 @@
#import <Cocoa/Cocoa.h>
@interface ToolbarSegmentedCell : NSSegmentedCell
{
}

View File

@ -210,7 +210,6 @@ void completenessChangeCallback(tr_torrent * torrent, cp_status_t status, void *
{
fStat = tr_torrentStat(fHandle);
#warning find a better way
//check if the file is created for Time Machine
if (fNeedSetTimeMachine && [self isActive])
{