Re-enable ratio action menu items.

This commit is contained in:
Mitchell Livingston 2006-10-28 15:44:19 +00:00
parent 00fe6a984f
commit fb2d39c3d2
7 changed files with 11 additions and 6 deletions

View File

@ -84,8 +84,7 @@
IBOutlet NSMenu * fUploadMenu, * fDownloadMenu;
IBOutlet NSMenuItem * fUploadLimitItem, * fUploadNoLimitItem,
* fDownloadLimitItem, * fDownloadNoLimitItem,
* fRatioSetItem, * fRatioNotSetItem;
* fDownloadLimitItem, * fDownloadNoLimitItem;
io_connect_t fRootPort;
NSTimer * fTimer;
@ -190,6 +189,8 @@
- (void) toggleAdvancedBar: (id) sender;
- (void) doNothing: (id) sender; //needed for menu items that use bindings with no associated action
- (void) resetDockBadge: (NSNotification *) notification;
- (void) setWindowSizeToFit;

View File

@ -1343,7 +1343,6 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
}
}
#warning get rid of
- (void) setLimitGlobalEnabled: (id) sender
{
[fPrefsController applySpeedSettings: nil];
@ -1868,6 +1867,8 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
[fTableView display];
}
- (void) doNothing: (id) sender {}
- (NSToolbarItem *) toolbar: (NSToolbar *) t itemForItemIdentifier:
(NSString *) ident willBeInsertedIntoToolbar: (BOOL) flag
{

View File

@ -5,6 +5,7 @@
ACTIONS = {
applyFilter = id;
copyTorrentFile = id;
doNothing = id;
linkForums = id;
linkHomepage = id;
openShowSheet = id;
@ -61,8 +62,6 @@
fPrevInfoTabItem = NSMenuItem;
fProgressSortActionItem = NSMenuItem;
fProgressSortItem = NSMenuItem;
fRatioNotSetItem = NSMenuItem;
fRatioSetItem = NSMenuItem;
fScrollView = NSScrollView;
fSearchFilterField = NSSearchField;
fSeedFilterButton = BarButton;

View File

@ -27,6 +27,10 @@
<array/>
<key>IBOldestOS</key>
<integer>3</integer>
<key>IBOpenObjects</key>
<array>
<integer>1041</integer>
</array>
<key>IBSystem Version</key>
<string>8L127</string>
</dict>

Binary file not shown.

View File

@ -23,7 +23,7 @@
</array>
<key>IBOpenObjects</key>
<array>
<integer>153</integer>
<integer>41</integer>
</array>
<key>IBSystem Version</key>
<string>8L127</string>