Changeset 150

Show
Ignore:
Timestamp:
04/16/08 11:26:50 (1 month ago)
Author:
andym
Message:

Moved some update alert things into bindings for code simpliciation.
Removed the frame saving feature from the update alert, as it was causing bugs and didn't seem particularly useful.
Fixes #164; thanks to Adam Radestock for his help.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/SUUpdateAlert.m

    r132 r150  
    105105{        
    106106        [[self window] setLevel:NSFloatingWindowLevel]; 
    107         [[self window] setFrameAutosaveName:@"SUUpdateAlertFrame"]; 
    108107                 
    109108        // We're gonna do some frame magic to match the window's size to the description field and the presence of the release notes view. 
     
    113112        { 
    114113                // Resize the window to be appropriate for not having a huge release notes view. 
    115                 frame.size.height -= [releaseNotesView frame].size.height; 
    116                 // No resizing! 
     114                frame.size.height -= [releaseNotesView frame].size.height + 40; // Extra 40 is for the release notes label and margin. 
    117115                [[self window] setShowsResizeIndicator:NO]; 
    118                 [[self window] setMinSize:frame.size]; 
    119                 [[self window] setMaxSize:frame.size]; 
    120116        } 
    121117         
  • trunk/en.lproj/SUUpdateAlert.nib/classes.nib

    r40 r150  
    55        <key>IBClasses</key> 
    66        <array> 
     7                <dict> 
     8                        <key>CLASS</key> 
     9                        <string>SUWindowController</string> 
     10                        <key>LANGUAGE</key> 
     11                        <string>ObjC</string> 
     12                        <key>SUPERCLASS</key> 
     13                        <string>NSWindowController</string> 
     14                </dict> 
    715                <dict> 
    816                        <key>CLASS</key> 
     
    3745                        </dict> 
    3846                        <key>SUPERCLASS</key> 
    39                         <string>NSWindowController</string> 
     47                        <string>SUWindowController</string> 
    4048                </dict> 
    4149                <dict> 
  • trunk/en.lproj/SUUpdateAlert.nib/info.nib

    r116 r150  
    44<dict> 
    55        <key>IBFramework Version</key> 
    6         <string>629</string> 
     6        <string>649</string> 
    77        <key>IBLastKnownRelativeProjectPath</key> 
    8         <string>../../Sparkle.xcodeproj</string> 
     8        <string>../Sparkle.xcodeproj</string> 
    99        <key>IBOldestOS</key> 
    1010        <integer>5</integer> 
    1111        <key>IBOpenObjects</key> 
    1212        <array> 
    13                 <integer>89</integer> 
     13                <integer>6</integer> 
    1414        </array> 
    1515        <key>IBSystem Version</key> 
    16         <string>9B18</string> 
     16        <string>9C7010</string> 
    1717        <key>targetFramework</key> 
    1818        <string>IBCocoaFramework</string>