Changeset 12488


Ignore:
Timestamp:
Jun 4, 2011, 1:17:56 PM (11 years ago)
Author:
livings124
Message:

#4245 Disable Quick Look space key in the inspector

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEWS

    r12473 r12488  
    33==== Mac ====
    44  * Lion stability fixes
     5  * Improved tabbing behavior
    56==== GTK+ ====
    67  * Remove GNOME desktop proxy support
  • trunk/Transmission.xcodeproj/project.pbxproj

    r12486 r12488  
    27462746                                GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
    27472747                                GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
    2748                                 GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES;
    27492748                                GCC_WARN_UNUSED_VARIABLE = YES;
    27502749                                HEADER_SEARCH_PATHS = (
     
    28742873                                GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
    28752874                                GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
    2876                                 GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES;
    28772875                                GCC_WARN_UNUSED_VARIABLE = YES;
    28782876                                HEADER_SEARCH_PATHS = (
     
    29392937                                GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
    29402938                                GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
    2941                                 GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES;
    29422939                                GCC_WARN_UNUSED_VARIABLE = YES;
    29432940                                HEADER_SEARCH_PATHS = (
  • trunk/macosx/FileOutlineView.m

    r12483 r12488  
    5959    [[self window] makeKeyWindow];
    6060    [super mouseDown: event];
    61 }
    62 
    63 - (void) keyDown: (NSEvent *) event
    64 {
    65     const unichar firstChar = [[event charactersIgnoringModifiers] characterAtIndex: 0];
    66    
    67     //don't allow quick look on add window
    68     if ([NSApp isOnSnowLeopardOrBetter] && firstChar == ' ' && [[[self window] windowController] isKindOfClass: [InfoWindowController class]])
    69     {
    70         if ([[QLPreviewPanelSL sharedPreviewPanel] isVisible])
    71             [[QLPreviewPanelSL sharedPreviewPanel] orderOut: nil];
    72         else
    73             [[QLPreviewPanelSL sharedPreviewPanel] makeKeyAndOrderFront: nil];
    74     }
    75    
    76     [super keyDown: event]; 
    7761}
    7862
Note: See TracChangeset for help on using the changeset viewer.