Hook up layout to window controller

This commit is contained in:
anthony 2022-04-08 09:26:23 +01:00
parent 5efa344ce5
commit 5bad583fbb
4 changed files with 88 additions and 3 deletions

View File

@ -35,6 +35,16 @@
id memCacheSizeField; id memCacheSizeField;
id diskCacheSizeField; id diskCacheSizeField;
id expireCacheField; id expireCacheField;
// NETWORK
id proxyTypeButton;
id proxyHostField;
id proxyPortField;
id proxyUsernameField;
id proxyPasswordField;
id proxyOmitField;
id maxFetchersField;
id fetchesPerHostField;
id cachedConnectionsField;
NSMutableArray *downloadLocations; NSMutableArray *downloadLocations;
} }
@ -78,4 +88,15 @@
-(void)didChangeDiskCacheSize: (id)sender; -(void)didChangeDiskCacheSize: (id)sender;
-(void)didChangeExpireCache: (id)sender; -(void)didChangeExpireCache: (id)sender;
// NETWORK
-(void)didPickProxyType: (id)sender;
-(void)didChangeProxyHost: (id)sender;
-(void)didChangeProxyPort: (id)sender;
-(void)didChangeProxyUsername: (id)sender;
-(void)didChangeProxyPassword: (id)sender;
-(void)didChangeProxyOmit: (id)sender;
-(void)didChangeMaxFetchers: (id)sender;
-(void)didChangeFetchesPerHost: (id)sender;
-(void)didChangeCachedConnections: (id)sender;
@end @end

View File

@ -422,4 +422,41 @@
(NSUInteger)[[sender stringValue] integerValue]]; (NSUInteger)[[sender stringValue] integerValue]];
} }
-(void)didPickProxyType: (id)sender {
NSLog(@"didPickProxyType");
}
-(void)didChangeProxyHost: (id)sender {
NSLog(@"didChangeProxyHost");
}
-(void)didChangeProxyPort: (id)sender {
NSLog(@"didChangeProxyPort");
}
-(void)didChangeProxyUsername: (id)sender {
NSLog(@"didChangeProxyUsername");
}
-(void)didChangeProxyPassword: (id)sender {
NSLog(@"didChangeProxyPassword");
}
-(void)didChangeProxyOmit: (id)sender {
NSLog(@"didChangeProxyOmit");
}
-(void)didChangeMaxFetchers: (id)sender {
NSLog(@"didChangeMaxFetchers");
}
-(void)didChangeFetchesPerHost: (id)sender {
NSLog(@"didChangeFetchesPerHost");
}
-(void)didChangeCachedConnections: (id)sender {
NSLog(@"didChangeCachedConnections");
}
@end @end

View File

@ -3,9 +3,18 @@
FirstResponder = { FirstResponder = {
Actions = ( Actions = (
"didChangeBrowsingHistory:", "didChangeBrowsingHistory:",
"didChangeCachedConnections:",
"didChangeDiskCacheSize:", "didChangeDiskCacheSize:",
"didChangeExpireCache:",
"didChangeFetchesPerHost:",
"didChangeFontSizeStepper:", "didChangeFontSizeStepper:",
"didChangeMaxFetchers:",
"didChangeMemCacheSize:", "didChangeMemCacheSize:",
"didChangeProxyHost:",
"didChangeProxyOmit:",
"didChangeProxyPassword:",
"didChangeProxyPort:",
"didChangeProxyUsername:",
"didEnterFontSize:", "didEnterFontSize:",
"didEnterStartupPage:", "didEnterStartupPage:",
"didPickDefaultFont:", "didPickDefaultFont:",
@ -33,7 +42,7 @@
"didPressStartupUseDefaultPage:", "didPressStartupUseDefaultPage:",
"didPressSwitchToTabs:", "didPressSwitchToTabs:",
"didPressUrlSuggestions:", "didPressUrlSuggestions:",
"didChangeExpireCache:" "didPickProxyType:"
); );
Super = NSObject; Super = NSObject;
}; };
@ -70,7 +79,16 @@
"didPressDoNotTrack:", "didPressDoNotTrack:",
"didPressLocalHistoryTooltip:", "didPressLocalHistoryTooltip:",
"didPressReferralSubmission:", "didPressReferralSubmission:",
"didChangeExpireCache:" "didChangeExpireCache:",
"didChangeCachedConnections:",
"didChangeFetchesPerHost:",
"didChangeMaxFetchers:",
"didChangeProxyHost:",
"didChangeProxyOmit:",
"didChangeProxyPassword:",
"didChangeProxyPort:",
"didChangeProxyUsername:",
"didPickProxyType:"
); );
Outlets = ( Outlets = (
downloadConfirmOverwriteButton, downloadConfirmOverwriteButton,
@ -103,7 +121,16 @@
expireCacheField, expireCacheField,
referralSubmissionButton, referralSubmissionButton,
rememberHistoryField, rememberHistoryField,
newOutlet proxyHostField,
dummyIdentifier,
maxFetchersField,
fetchesPerHostField,
cachedConnectionsField,
proxyOmitField,
proxyPasswordField,
proxyPortField,
proxyTypeButton,
proxyUsernameField
); );
Super = NSWindowController; Super = NSWindowController;
}; };