Skip to content

Commit

Permalink
[CHANGE] fixed lion issues and prepped everything for release
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeydom committed Jun 1, 2011
1 parent f446643 commit 59d0d78
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 3 deletions.
1 change: 1 addition & 0 deletions SubEthaEdit-Mac/AppController.m
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ + (void)initialize {
}

//
[defaults setObject:[NSNumber numberWithBool:YES] forKey:@"DontSubmitAndRequestHistory"];
[defaults setObject:[NSNumber numberWithBool:YES] forKey:VisibilityPrefKey];
[defaults setObject:[NSNumber numberWithBool:YES] forKey:DocumentStateSaveAndLoadWindowPositionKey];
[defaults setObject:[NSNumber numberWithBool:YES] forKey:DocumentStateSaveAndLoadTabSettingKey ];
Expand Down
9 changes: 9 additions & 0 deletions SubEthaEdit-Mac/English.lproj/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
SubEthaEdit 3.5.4
=================

Changes:
- Enabled the Web Inspector in the live Web Preview.

Fixes:
- Fixed issues with Mac OS X Lion.


SubEthaEdit 3.5.3
=================
Expand Down
2 changes: 1 addition & 1 deletion SubEthaEdit-Mac/GeneralPreferences.m
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ + (void)initialize {
forKey:HighlightChangesAlonePreferenceKey];
[defaultDict setObject:[NSNumber numberWithBool:NO]
forKey:OpenNewDocumentInTabKey];
[defaultDict setObject:[NSNumber numberWithBool:YES]
[defaultDict setObject:[NSNumber numberWithBool:NO]
forKey:AlwaysShowTabBarKey];
[defaultDict setObject:BASEMODEIDENTIFIER
forKey:ModeForNewDocumentsPreferenceKey];
Expand Down
9 changes: 9 additions & 0 deletions SubEthaEdit-Mac/German.lproj/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
SubEthaEdit 3.5.4
=================

Changes:
- Enabled the Web Inspector in the live Web Preview.

Fixes:
- Fixed issues with Mac OS X Lion.


SubEthaEdit 3.5.3
=================
Expand Down
4 changes: 2 additions & 2 deletions SubEthaEdit-Mac/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleGetInfoString</key>
<string>SubEthaEdit 3.5., © 2003-2010 TheCodingMonkeys</string>
<string>SubEthaEdit 3.5.4, © 2003-2010 TheCodingMonkeys</string>
<key>CFBundleHelpBookFolder</key>
<string>SubEthaEditHelp</string>
<key>CFBundleHelpBookName</key>
Expand All @@ -262,7 +262,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.5.4ß2</string>
<string>3.5.4</string>
<key>CFBundleSignature</key>
<string>Hdra</string>
<key>CFBundleURLTypes</key>
Expand Down
4 changes: 4 additions & 0 deletions SubEthaEdit-Mac/PlainTextEditor.m
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,10 @@ - (void)awakeFromNib {
// trigger the notfications for the first time
[self sessionDidChange:nil];
[self participantsDidChange:nil];

// initial wrapping fix for lion
[self toggleWrap:self];
[self toggleWrap:self];
}

- (void)pushSelectedRanges {
Expand Down
8 changes: 8 additions & 0 deletions SubEthaEdit-Mac/Toolbar.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ @implementation Toolbar

- (id)initWithIdentifier:(NSString *)anIdentifier {
if ((self=[super initWithIdentifier:anIdentifier])) {
NSDictionary *prefs = [[NSUserDefaults standardUserDefaults] objectForKey:[NSString stringWithFormat:@"NSToolbar Configuration %@", anIdentifier]];
if (prefs) {
[self setDisplayMode:[[prefs objectForKey:@"TB Display Mode"] intValue]];
[self setSizeMode:[[prefs objectForKey:@"TB Icon Size Mode"] intValue]];
} else {
[self setDisplayMode:NSToolbarDisplayModeIconOnly];
[self setSizeMode:NSToolbarSizeModeSmall];
}
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(sizeModeDidChange:) name:@"ToolbarSizeModeDidChangeNotification" object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(displayModeDidChange:) name:@"ToolbarDisplayModeDidChangeNotification" object:nil];
}
Expand Down

0 comments on commit 59d0d78

Please sign in to comment.