mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
Change Quickstart slider to checkbox in advanced prefs
This commit is contained in:
@@ -68,6 +68,8 @@
|
||||
<dict>
|
||||
<key>loginShellButtonClicked</key>
|
||||
<string>id</string>
|
||||
<key>quickstartButtonClicked</key>
|
||||
<string>id</string>
|
||||
</dict>
|
||||
<key>CLASS</key>
|
||||
<string>FirstResponder</string>
|
||||
|
||||
+3
-1
@@ -9,7 +9,9 @@
|
||||
<key>IBOldestOS</key>
|
||||
<integer>5</integer>
|
||||
<key>IBOpenObjects</key>
|
||||
<array/>
|
||||
<array>
|
||||
<integer>633</integer>
|
||||
</array>
|
||||
<key>IBSystem Version</key>
|
||||
<string>9E17</string>
|
||||
<key>targetFramework</key>
|
||||
|
||||
Binary file not shown.
@@ -993,6 +993,18 @@ fsEventCallback(ConstFSEventStreamRef streamRef,
|
||||
}
|
||||
}
|
||||
|
||||
- (IBAction)quickstartButtonClicked:(id)sender
|
||||
{
|
||||
if ([self maxPreloadCacheSize] > 0) {
|
||||
[self scheduleVimControllerPreloadAfterDelay:1.0];
|
||||
[self startWatchingVimDir];
|
||||
} else {
|
||||
[self cancelVimControllerPreloadRequests];
|
||||
[self clearPreloadCacheWithCount:-1];
|
||||
[self stopWatchingVimDir];
|
||||
}
|
||||
}
|
||||
|
||||
- (byref id <MMFrontendProtocol>)
|
||||
connectBackend:(byref in id <MMBackendProtocol>)backend
|
||||
pid:(int)pid
|
||||
|
||||
@@ -35,7 +35,4 @@
|
||||
- (IBAction)installOdb:(id)sender;
|
||||
- (IBAction)uninstallOdb:(id)sender;
|
||||
|
||||
// Advanced pane
|
||||
- (IBAction)changePreloadCacheSize:(id)sender;
|
||||
|
||||
@end
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
*/
|
||||
|
||||
#import "AuthorizedShellCommand.h"
|
||||
#import "MMAppController.h"
|
||||
#import "MMPreferenceController.h"
|
||||
#import "Miscellaneous.h"
|
||||
|
||||
@@ -406,10 +405,4 @@ NSString *kOdbEditorIdentifierWriteRoom = @"com.hogbaysoftware.WriteRoom";
|
||||
[self updateIntegrationPane];
|
||||
}
|
||||
|
||||
- (IBAction)changePreloadCacheSize:(id)sender
|
||||
{
|
||||
int size = [sender floatValue];
|
||||
[[MMAppController sharedInstance] setPreloadCacheSize:(int)size];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user