Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed 32/64bit build issues. Added menu item shortcut (ctrl+opt+f). C…

…loses #2
  • Loading branch information...
commit ff82f4a3482e4003a1489c14d4b0c55b9b797d69 1 parent b01daeb
@shnhrrsn shnhrrsn authored
View
2  EGOTextMateFullScreen.xcodeproj/project.pbxproj
@@ -242,6 +242,7 @@
9AA3EA3213BFDA6C0057B4CC /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "EGOTextMateFullScreen/EGOTextMateFullScreen-Prefix.pch";
INFOPLIST_FILE = "EGOTextMateFullScreen/EGOTextMateFullScreen-Info.plist";
@@ -254,6 +255,7 @@
9AA3EA3313BFDA6C0057B4CC /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_32_BIT)";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "EGOTextMateFullScreen/EGOTextMateFullScreen-Prefix.pch";
INFOPLIST_FILE = "EGOTextMateFullScreen/EGOTextMateFullScreen-Info.plist";
View
2  EGOTextMateFullScreen/EGOTextMateFullScreen-Info.plist
@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
- <string>1.0</string>
+ <string>1.0.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
View
8 EGOTextMateFullScreen/EGOTextMateFullScreen.m
@@ -38,6 +38,14 @@ + (void)initialize {
window.collectionBehavior = NSWindowCollectionBehaviorFullScreenPrimary;
}
}
+
+ // Add the full screen menu item shortcut
+ for(NSMenuItem* item in [NSApplication sharedApplication].mainMenu.itemArray) {
+ if(![item hasSubmenu]) continue;
+ if(![item.title isEqualToString:NSLocalizedString(@"View", @"View")]) continue;
+ [item.submenu addItemWithTitle:@"" action:@selector(toggleFullScreen:) keyEquivalent:@"f"].keyEquivalentModifierMask = NSControlKeyMask | NSAlternateKeyMask;
+ break;
+ }
}
}

0 comments on commit ff82f4a

Please sign in to comment.
Something went wrong with that request. Please try again.