Status is now Activity, commented out now-unused method
This commit is contained in:
parent
e6603def25
commit
681ba0ed25
Binary file not shown.
|
@ -33,13 +33,13 @@
|
||||||
#define MAX_WINDOW_WIDTH 2000
|
#define MAX_WINDOW_WIDTH 2000
|
||||||
|
|
||||||
#define TAB_INFO_IDENT @"Info"
|
#define TAB_INFO_IDENT @"Info"
|
||||||
#define TAB_STATUS_IDENT @"Status"
|
#define TAB_ACTIVITY_IDENT @"Activity"
|
||||||
#define TAB_OPTIONS_IDENT @"Options"
|
#define TAB_OPTIONS_IDENT @"Options"
|
||||||
#define TAB_FILES_IDENT @"Files"
|
#define TAB_FILES_IDENT @"Files"
|
||||||
|
|
||||||
//15 spacing at the bottom of each tab
|
//15 spacing at the bottom of each tab
|
||||||
#define TAB_INFO_HEIGHT 185.0
|
#define TAB_INFO_HEIGHT 185.0
|
||||||
#define TAB_STATUS_HEIGHT 199.0
|
#define TAB_ACTIVITY_HEIGHT 199.0
|
||||||
#define TAB_OPTIONS_HEIGHT 82.0
|
#define TAB_OPTIONS_HEIGHT 82.0
|
||||||
#define TAB_FILES_HEIGHT 250.0
|
#define TAB_FILES_HEIGHT 250.0
|
||||||
|
|
||||||
|
@ -327,8 +327,8 @@
|
||||||
NSString * identifier = [tabViewItem identifier];
|
NSString * identifier = [tabViewItem identifier];
|
||||||
if ([identifier isEqualToString: TAB_INFO_IDENT])
|
if ([identifier isEqualToString: TAB_INFO_IDENT])
|
||||||
height = TAB_INFO_HEIGHT;
|
height = TAB_INFO_HEIGHT;
|
||||||
else if ([identifier isEqualToString: TAB_STATUS_IDENT])
|
else if ([identifier isEqualToString: TAB_ACTIVITY_IDENT])
|
||||||
height = TAB_STATUS_HEIGHT;
|
height = TAB_ACTIVITY_HEIGHT;
|
||||||
else if ([identifier isEqualToString: TAB_OPTIONS_IDENT])
|
else if ([identifier isEqualToString: TAB_OPTIONS_IDENT])
|
||||||
height = TAB_OPTIONS_HEIGHT;
|
height = TAB_OPTIONS_HEIGHT;
|
||||||
else
|
else
|
||||||
|
@ -422,8 +422,7 @@
|
||||||
NSEnumerator * enumerator = [fTorrents objectEnumerator];
|
NSEnumerator * enumerator = [fTorrents objectEnumerator];
|
||||||
|
|
||||||
float ratioLimit = [sender floatValue];
|
float ratioLimit = [sender floatValue];
|
||||||
if (![[sender stringValue] isEqualToString:
|
if (![[sender stringValue] isEqualToString: [NSString stringWithFormat: @"%.2f", ratioLimit]]
|
||||||
[NSString stringWithFormat: @"%.2f", ratioLimit]]
|
|
||||||
|| ratioLimit < 0)
|
|| ratioLimit < 0)
|
||||||
{
|
{
|
||||||
NSBeep();
|
NSBeep();
|
||||||
|
|
|
@ -97,7 +97,7 @@
|
||||||
- (BOOL) publicTorrent;
|
- (BOOL) publicTorrent;
|
||||||
- (BOOL) privateTorrent;
|
- (BOOL) privateTorrent;
|
||||||
|
|
||||||
- (NSString *) state;
|
//- (NSString *) state;
|
||||||
|
|
||||||
- (float) progress;
|
- (float) progress;
|
||||||
- (BOOL) isActive;
|
- (BOOL) isActive;
|
||||||
|
|
|
@ -381,7 +381,7 @@
|
||||||
return fPrivateTorrent;
|
return fPrivateTorrent;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSString *) state
|
/*- (NSString *) state
|
||||||
{
|
{
|
||||||
switch( fStat->status )
|
switch( fStat->status )
|
||||||
{
|
{
|
||||||
|
@ -408,7 +408,7 @@
|
||||||
default:
|
default:
|
||||||
return @"N/A";
|
return @"N/A";
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
- (float) progress
|
- (float) progress
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue