Skip to content

Commit

Permalink
- Improved response time in UI when selecting next or previous file i…
Browse files Browse the repository at this point in the history
…n list and auto-search is enabled

- Fixed bug in the write cleanup code that caused file to not be moved to its final location when move to trash succeeded
  • Loading branch information
griff committed May 12, 2010
1 parent 6573a8c commit 96c6965
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion App/src/AppController.m
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,8 @@ - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(N
}
if([keyPath isEqual:@"selection.pure.videoType"] && object == filesController)
{
[self performSelector:@selector(updateSearchMenu) withObject:nil afterDelay:0.0];
[NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(updateSearchMenu) object:nil];
[self performSelector:@selector(updateSearchMenu) withObject:nil afterDelay:0.001];
}
if([keyPath isEqual:@"selection.shortDescription"] && object == filesController)
{
Expand Down
2 changes: 1 addition & 1 deletion App/src/MZWriteQueueStatus.m
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ - (void)dataProvider:(id<MZDataProvider>)provider
{
BOOL putOriginalsInTrash = [[NSUserDefaults standardUserDefaults] boolForKey:@"putOriginalsInTrash"];
BOOL needsRemoval = !putOriginalsInTrash;
BOOL shouldKeepOld = YES;
BOOL shouldKeepOld = NO;
BOOL shouldMove = YES;
if(putOriginalsInTrash)
{
Expand Down
2 changes: 2 additions & 0 deletions MetaZ.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3433,7 +3433,9 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEPLOYMENT_POSTPROCESSING = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"\"$(SRCROOT)\"",
Expand Down

0 comments on commit 96c6965

Please sign in to comment.