mirror of
https://github.com/transmission/transmission.git
synced 2025-12-25 04:45:56 +00:00
clean up the pieces bar drawing to avoid putting it into an image, and use NSColor object for the piece colors
This commit is contained in:
@@ -295,6 +295,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
|
||||
}
|
||||
|
||||
//set sort
|
||||
#warning clean up
|
||||
NSString * sortType = [fDefaults stringForKey: @"Sort"];
|
||||
|
||||
NSMenuItem * currentSortItem, * currentSortActionItem;
|
||||
@@ -335,6 +336,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
|
||||
[currentSortActionItem setState: NSOnState];
|
||||
|
||||
//set filter
|
||||
#warning clean up
|
||||
NSString * filterType = [fDefaults stringForKey: @"Filter"];
|
||||
|
||||
FilterBarButton * currentFilterButton;
|
||||
|
||||
Reference in New Issue
Block a user