a little tidyup; update NEWS

This commit is contained in:
Mitchell Livingston
2008-05-11 21:57:34 +00:00
parent cfb91f22e4
commit c48c9025c8
3 changed files with 19 additions and 18 deletions

2
NEWS
View File

@@ -3,7 +3,7 @@ NEWS file for Transmission <http://www.transmissionbt.com/>
1.30 (2008/mm/dd)
http://trac.transmissionbt.com/query?group=component&milestone=1.30
- Mac
+ Status strings are toggled from the action menu (they are no longer clickable)
+ Status strings are toggled from the action button (they are no longer clickable)
1.20 (2008/05/09)
http://trac.transmissionbt.com/query?group=component&milestone=1.20

View File

@@ -2520,7 +2520,6 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
- (BOOL) outlineView: (NSOutlineView *) outlineView isItemExpandable: (id) item
{
return ![item isKindOfClass: [Torrent class]];
}
@@ -2665,21 +2664,28 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
while ((torrent = [enumerator nextObject]))
[torrent setGroupValue: groupValue];*/
NSArray * groupTorrents = [item objectForKey: @"Torrents"];
while (newRow > 0 && [movingTorrents containsObject: [groupTorrents objectAtIndex: newRow-1]])
newRow--;
if (newRow > 0)
topTorrent = [groupTorrents objectAtIndex: newRow-1];
for (i = newRow-1; i >= 0; i--)
{
Torrent * tempTorrent = [groupTorrents objectAtIndex: i];
if (![movingTorrents containsObject: tempTorrent])
{
topTorrent = tempTorrent;
break;
}
}
}
else
{
while (newRow > 0 && [movingTorrents containsObject: [fDisplayedTorrents objectAtIndex: newRow-1]])
newRow--;
if (newRow > 0)
topTorrent = [fDisplayedTorrents objectAtIndex: newRow-1];
for (i = newRow-1; i >= 0; i--)
{
Torrent * tempTorrent = [fDisplayedTorrents objectAtIndex: i];
if (![movingTorrents containsObject: tempTorrent])
{
topTorrent = tempTorrent;
break;
}
}
}
//get all torrents to reorder

View File

@@ -139,11 +139,6 @@
[fCollapsedGroups removeIndex: value];
}
- (BOOL)shouldCollapseAutoExpandedItemsForDeposited:(BOOL)deposited
{
return NO;
}
- (void) removeAllCollapsedGroups
{
[fCollapsedGroups removeAllIndexes];