mirror of
https://github.com/transmission/transmission
synced 2024-12-24 16:52:39 +00:00
get the drag overlay working again....silly rabbit
This commit is contained in:
parent
6bc49feffc
commit
42a642bbbf
1 changed files with 2 additions and 3 deletions
|
@ -86,7 +86,7 @@
|
||||||
while ((file = [enumerator nextObject]))
|
while ((file = [enumerator nextObject]))
|
||||||
{
|
{
|
||||||
if (tr_torrentParse(fLib, [file UTF8String], NULL, &info) == TR_OK)
|
if (tr_torrentParse(fLib, [file UTF8String], NULL, &info) == TR_OK)
|
||||||
{
|
{NSLog(@"asdgas");
|
||||||
count++;
|
count++;
|
||||||
size += info.totalSize;
|
size += info.totalSize;
|
||||||
fileCount += info.fileCount;
|
fileCount += info.fileCount;
|
||||||
|
@ -125,6 +125,7 @@
|
||||||
secondString = [secondString stringByAppendingString: @" Total"];
|
secondString = [secondString stringByAppendingString: @" Total"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[[self contentView] setOverlay: icon mainLine: name subLine: secondString];
|
||||||
[self fadeIn];
|
[self fadeIn];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -132,7 +133,6 @@
|
||||||
{
|
{
|
||||||
[[self contentView] setOverlay: [NSImage imageNamed: @"CreateLarge.png"]
|
[[self contentView] setOverlay: [NSImage imageNamed: @"CreateLarge.png"]
|
||||||
mainLine: NSLocalizedString(@"Create a Torrent File", "Drag overlay -> file") subLine: file];
|
mainLine: NSLocalizedString(@"Create a Torrent File", "Drag overlay -> file") subLine: file];
|
||||||
|
|
||||||
[self fadeIn];
|
[self fadeIn];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -141,7 +141,6 @@
|
||||||
{
|
{
|
||||||
[[self contentView] setOverlay: [NSImage imageNamed: @"Globe.png"]
|
[[self contentView] setOverlay: [NSImage imageNamed: @"Globe.png"]
|
||||||
mainLine: NSLocalizedString(@"Web Address", "Drag overlay -> url") subLine: url];
|
mainLine: NSLocalizedString(@"Web Address", "Drag overlay -> url") subLine: url];
|
||||||
|
|
||||||
[self fadeIn];
|
[self fadeIn];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue