Commits

David Keegan committed 4eb1aad

*updating menu based on an email thread from the google group.
*changing "Preferred Editor" to "Diff Viewer" and adding a description about what the preference does.
*changing the Diff Viewer popup menu to disable application menu items that don't exist on the system so the user can tell what editors are supported.
*changing the default editor from Xcode to TextEdit because the user may not have Xcode installed if they are using Murky with non-Xcode related projects.

Comments (0)

Files changed (4)

English.lproj/MainMenu.xib

 		</object>
 		<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
 			<bool key="EncodedWithXMLCoder">YES</bool>
+			<integer value="505"/>
 			<integer value="29"/>
 		</object>
 		<object class="NSArray" key="IBDocument.PluginDependencies">
 					</object>
 					<object class="NSMenuItem" id="379814623">
 						<reference key="NSMenu" ref="649796088"/>
-						<string key="NSTitle">File</string>
+						<string key="NSTitle">Repository</string>
 						<string key="NSKeyEquiv"/>
 						<int key="NSKeyEquivModMask">1048576</int>
 						<int key="NSMnemonicLoc">2147483647</int>
 						<reference key="NSMixedImage" ref="578101116"/>
 						<string key="NSAction">submenuAction:</string>
 						<object class="NSMenu" key="NSSubmenu" id="720053764">
-							<string key="NSTitle">File</string>
+							<string key="NSTitle">Repository</string>
 							<object class="NSMutableArray" key="NSMenuItems">
 								<bool key="EncodedWithXMLCoder">YES</bool>
 								<object class="NSMenuItem" id="22677308">
 									<reference key="NSMenu" ref="720053764"/>
-									<string key="NSTitle">New Local Repository…</string>
+									<string key="NSTitle">New Local…</string>
 									<string key="NSKeyEquiv">n</string>
 									<int key="NSKeyEquivModMask">1048576</int>
 									<int key="NSMnemonicLoc">2147483647</int>
 								</object>
 								<object class="NSMenuItem" id="210635572">
 									<reference key="NSMenu" ref="720053764"/>
-									<string key="NSTitle">New Cloned Repository…</string>
+									<string key="NSTitle">New Cloned…</string>
 									<string key="NSKeyEquiv">u</string>
 									<int key="NSKeyEquivModMask">1048840</int>
 									<int key="NSMnemonicLoc">2147483647</int>
 								</object>
 								<object class="NSMenuItem" id="722745758">
 									<reference key="NSMenu" ref="720053764"/>
-									<string key="NSTitle">Open Repository…</string>
+									<string key="NSTitle">Open…</string>
 									<string key="NSKeyEquiv">o</string>
 									<int key="NSKeyEquivModMask">1048576</int>
 									<int key="NSMnemonicLoc">2147483647</int>
 								</object>
 								<object class="NSMenuItem" id="776162233">
 									<reference key="NSMenu" ref="720053764"/>
-									<string key="NSTitle">Close</string>
+									<string key="NSTitle">Close Window</string>
 									<string key="NSKeyEquiv">w</string>
 									<int key="NSKeyEquivModMask">1048576</int>
 									<int key="NSMnemonicLoc">2147483647</int>
 									<reference key="NSOnImage" ref="664567982"/>
 									<reference key="NSMixedImage" ref="578101116"/>
 								</object>
-								<object class="NSMenuItem" id="56293250">
+								<object class="NSMenuItem" id="827380328">
 									<reference key="NSMenu" ref="720053764"/>
-									<bool key="NSIsDisabled">YES</bool>
-									<bool key="NSIsSeparator">YES</bool>
-									<string key="NSTitle"/>
-									<string key="NSKeyEquiv"/>
-									<int key="NSKeyEquivModMask">1048576</int>
+									<string key="NSTitle">Pull From...</string>
+									<string key="NSKeyEquiv"></string>
+									<int key="NSKeyEquivModMask">1179648</int>
 									<int key="NSMnemonicLoc">2147483647</int>
 									<reference key="NSOnImage" ref="664567982"/>
 									<reference key="NSMixedImage" ref="578101116"/>
 								</object>
-								<object class="NSMenuItem" id="810889119">
+								<object class="NSMenuItem" id="350492256">
 									<reference key="NSMenu" ref="720053764"/>
-									<string key="NSTitle">Refresh Status</string>
-									<string key="NSKeyEquiv">r</string>
-									<int key="NSKeyEquivModMask">1048576</int>
+									<string key="NSTitle">Push To...</string>
+									<string key="NSKeyEquiv"></string>
+									<int key="NSKeyEquivModMask">1179648</int>
 									<int key="NSMnemonicLoc">2147483647</int>
 									<reference key="NSOnImage" ref="664567982"/>
 									<reference key="NSMixedImage" ref="578101116"/>
+									<int key="NSTag">1</int>
+								</object>
+								<object class="NSMenuItem" id="838673501">
+									<reference key="NSMenu" ref="720053764"/>
+									<string key="NSTitle">Clone To...</string>
+									<string key="NSKeyEquiv"></string>
+									<int key="NSKeyEquivModMask">1179648</int>
+									<int key="NSMnemonicLoc">2147483647</int>
+									<reference key="NSOnImage" ref="664567982"/>
+									<reference key="NSMixedImage" ref="578101116"/>
+									<int key="NSTag">2</int>
 								</object>
 								<object class="NSMenuItem" id="94212584">
 									<reference key="NSMenu" ref="720053764"/>
 								</object>
 								<object class="NSMenuItem" id="514278996">
 									<reference key="NSMenu" ref="720053764"/>
-									<string key="NSTitle">Reveal Repository In Finder</string>
+									<string key="NSTitle">Reveal In Finder</string>
 									<string key="NSKeyEquiv"/>
 									<int key="NSKeyEquivModMask">1048576</int>
 									<int key="NSMnemonicLoc">2147483647</int>
 								</object>
 								<object class="NSMenuItem" id="1004118256">
 									<reference key="NSMenu" ref="720053764"/>
-									<string key="NSTitle">Open Repository In Terminal</string>
+									<string key="NSTitle">Open In Terminal</string>
 									<string key="NSKeyEquiv">t</string>
 									<int key="NSKeyEquivModMask">1048576</int>
 									<int key="NSMnemonicLoc">2147483647</int>
 								</object>
 								<object class="NSMenuItem" id="125904431">
 									<reference key="NSMenu" ref="720053764"/>
-									<string key="NSTitle">Commit Selected Files...</string>
+									<string key="NSTitle">Commit Changes...</string>
 									<string key="NSKeyEquiv">S</string>
 									<int key="NSKeyEquivModMask">1572864</int>
 									<int key="NSMnemonicLoc">2147483647</int>
 									<reference key="NSOnImage" ref="664567982"/>
 									<reference key="NSMixedImage" ref="578101116"/>
 								</object>
-								<object class="NSMenuItem" id="350492256">
-									<reference key="NSMenu" ref="720053764"/>
-									<string key="NSTitle">Push To Repository…</string>
-									<string key="NSKeyEquiv"></string>
-									<int key="NSKeyEquivModMask">1179648</int>
-									<int key="NSMnemonicLoc">2147483647</int>
-									<reference key="NSOnImage" ref="664567982"/>
-									<reference key="NSMixedImage" ref="578101116"/>
-									<int key="NSTag">1</int>
-								</object>
-								<object class="NSMenuItem" id="827380328">
-									<reference key="NSMenu" ref="720053764"/>
-									<string key="NSTitle">Pull From Repository…</string>
-									<string key="NSKeyEquiv"></string>
-									<int key="NSKeyEquivModMask">1179648</int>
-									<int key="NSMnemonicLoc">2147483647</int>
-									<reference key="NSOnImage" ref="664567982"/>
-									<reference key="NSMixedImage" ref="578101116"/>
-								</object>
-								<object class="NSMenuItem" id="543770792">
-									<reference key="NSMenu" ref="720053764"/>
-									<bool key="NSIsDisabled">YES</bool>
-									<bool key="NSIsSeparator">YES</bool>
-									<string key="NSTitle"/>
-									<string key="NSKeyEquiv"/>
-									<int key="NSKeyEquivModMask">1048576</int>
-									<int key="NSMnemonicLoc">2147483647</int>
-									<reference key="NSOnImage" ref="664567982"/>
-									<reference key="NSMixedImage" ref="578101116"/>
-								</object>
 								<object class="NSMenuItem" id="197082050">
 									<reference key="NSMenu" ref="720053764"/>
 									<string key="NSTitle">Update To Revision</string>
 									<reference key="NSOnImage" ref="664567982"/>
 									<reference key="NSMixedImage" ref="578101116"/>
 								</object>
-								<object class="NSMenuItem" id="838673501">
+								<object class="NSMenuItem" id="810889119">
 									<reference key="NSMenu" ref="720053764"/>
-									<string key="NSTitle">Clone Repository To…</string>
-									<string key="NSKeyEquiv"></string>
-									<int key="NSKeyEquivModMask">1179648</int>
+									<string key="NSTitle">Refresh Status</string>
+									<string key="NSKeyEquiv">r</string>
+									<int key="NSKeyEquivModMask">1048576</int>
 									<int key="NSMnemonicLoc">2147483647</int>
 									<reference key="NSOnImage" ref="664567982"/>
 									<reference key="NSMixedImage" ref="578101116"/>
-									<int key="NSTag">2</int>
 								</object>
 							</object>
 						</object>
 					</object>
 					<object class="NSMenuItem" id="626404410">
 						<reference key="NSMenu" ref="649796088"/>
-						<string key="NSTitle">Revisions</string>
+						<string key="NSTitle">Revision</string>
 						<string key="NSKeyEquiv"/>
 						<int key="NSKeyEquivModMask">1048576</int>
 						<int key="NSMnemonicLoc">2147483647</int>
 						<reference key="NSMixedImage" ref="578101116"/>
 						<string key="NSAction">submenuAction:</string>
 						<object class="NSMenu" key="NSSubmenu" id="502084290">
-							<string key="NSTitle">Revisions</string>
+							<string key="NSTitle">Revision</string>
 							<object class="NSMutableArray" key="NSMenuItems">
 								<bool key="EncodedWithXMLCoder">YES</bool>
 								<object class="NSMenuItem" id="549587948">
 									<reference key="NSMenu" ref="502084290"/>
-									<string key="NSTitle">View Revision</string>
+									<string key="NSTitle">View</string>
 									<string key="NSKeyEquiv"/>
 									<int key="NSMnemonicLoc">2147483647</int>
 									<reference key="NSOnImage" ref="664567982"/>
 								</object>
 								<object class="NSMenuItem" id="846980203">
 									<reference key="NSMenu" ref="502084290"/>
-									<string key="NSTitle">Compare Revisions</string>
+									<string key="NSTitle">Compare</string>
 									<string key="NSKeyEquiv">k</string>
 									<int key="NSKeyEquivModMask">1048840</int>
 									<int key="NSMnemonicLoc">2147483647</int>
 								</object>
 								<object class="NSMenuItem" id="561385031">
 									<reference key="NSMenu" ref="502084290"/>
-									<string key="NSTitle">Diff Revisions</string>
+									<string key="NSTitle">Diff</string>
 									<string key="NSKeyEquiv">d</string>
 									<int key="NSKeyEquivModMask">1048840</int>
 									<int key="NSMnemonicLoc">2147483647</int>
 								</object>
 								<object class="NSMenuItem" id="408059504">
 									<reference key="NSMenu" ref="502084290"/>
-									<string key="NSTitle">Add File To Repository</string>
+									<string key="NSTitle">Add File</string>
 									<string key="NSKeyEquiv">a</string>
 									<int key="NSKeyEquivModMask">1572864</int>
 									<int key="NSMnemonicLoc">2147483647</int>
 								</object>
 								<object class="NSMenuItem" id="154748241">
 									<reference key="NSMenu" ref="502084290"/>
-									<string key="NSTitle">Remove File From Repository</string>
+									<string key="NSTitle">Remove File</string>
 									<string type="base64-UTF8" key="NSKeyEquiv">CA</string>
 									<int key="NSKeyEquivModMask">1048576</int>
 									<int key="NSMnemonicLoc">2147483647</int>
 			<object class="NSWindowTemplate" id="765825947">
 				<int key="NSWindowStyleMask">7</int>
 				<int key="NSWindowBacking">2</int>
-				<string key="NSWindowRect">{{196, 453}, {404, 57}}</string>
+				<string key="NSWindowRect">{{196, 419}, {404, 91}}</string>
 				<int key="NSWTFlags">1677721600</int>
 				<string key="NSWindowTitle">Preferences</string>
 				<string key="NSWindowClass">NSWindow</string>
 				<nil key="NSViewClass"/>
 				<string key="NSWindowContentMaxSize">{1.79769e+308, 1.79769e+308}</string>
 				<object class="NSView" key="NSWindowView" id="686502740">
-					<nil key="NSNextResponder"/>
+					<reference key="NSNextResponder"/>
 					<int key="NSvFlags">256</int>
 					<object class="NSMutableArray" key="NSSubviews">
 						<bool key="EncodedWithXMLCoder">YES</bool>
 						<object class="NSPopUpButton" id="58878564">
 							<reference key="NSNextResponder" ref="686502740"/>
 							<int key="NSvFlags">268</int>
-							<string key="NSFrame">{{159, 14}, {228, 26}}</string>
+							<string key="NSFrame">{{109, 48}, {278, 26}}</string>
 							<reference key="NSSuperview" ref="686502740"/>
 							<bool key="NSEnabled">YES</bool>
 							<object class="NSPopUpButtonCell" key="NSCell" id="101912314">
 						<object class="NSTextField" id="405135902">
 							<reference key="NSNextResponder" ref="686502740"/>
 							<int key="NSvFlags">268</int>
-							<string key="NSFrame">{{17, 20}, {140, 17}}</string>
+							<string key="NSFrame">{{17, 54}, {90, 17}}</string>
 							<reference key="NSSuperview" ref="686502740"/>
 							<bool key="NSEnabled">YES</bool>
 							<object class="NSTextFieldCell" key="NSCell" id="509925560">
 								<int key="NSCellFlags">68288064</int>
-								<int key="NSCellFlags2">272630784</int>
-								<string key="NSContents">Preferred Text Editor:</string>
+								<int key="NSCellFlags2">71304192</int>
+								<string key="NSContents">Diff Viewer:</string>
 								<reference key="NSSupport" ref="43958144"/>
 								<reference key="NSControlView" ref="405135902"/>
 								<reference key="NSBackgroundColor" ref="99345828"/>
 								<reference key="NSTextColor" ref="295978017"/>
 							</object>
 						</object>
-					</object>
-					<string key="NSFrameSize">{404, 57}</string>
+						<object class="NSTextField" id="841277030">
+							<reference key="NSNextResponder" ref="686502740"/>
+							<int key="NSvFlags">268</int>
+							<string key="NSFrame">{{37, 20}, {330, 26}}</string>
+							<reference key="NSSuperview" ref="686502740"/>
+							<bool key="NSEnabled">YES</bool>
+							<object class="NSTextFieldCell" key="NSCell" id="910140310">
+								<int key="NSCellFlags">67239424</int>
+								<int key="NSCellFlags2">138412032</int>
+								<string key="NSContents">This application will be used for viewing diffs. If an application cannot be found on the system its menu item is disabled.</string>
+								<object class="NSFont" key="NSSupport">
+									<string key="NSName">LucidaGrande</string>
+									<double key="NSSize">10</double>
+									<int key="NSfFlags">16</int>
+								</object>
+								<reference key="NSControlView" ref="841277030"/>
+								<reference key="NSBackgroundColor" ref="99345828"/>
+								<object class="NSColor" key="NSTextColor">
+									<int key="NSColorSpace">2</int>
+									<bytes key="NSRGB">MC41NjQ3MDU5MDgzIDAuNTY0NzA1OTA4MyAwLjU2NDcwNTkwODMAA</bytes>
+								</object>
+							</object>
+						</object>
+					</object>
+					<string key="NSFrameSize">{404, 91}</string>
+					<reference key="NSSuperview"/>
 				</object>
 				<string key="NSScreenRect">{{0, 0}, {1440, 878}}</string>
 				<string key="NSMaxSize">{1.79769e+308, 1.79769e+308}</string>
 							<reference ref="1025936716"/>
 							<reference ref="62861574"/>
 							<reference ref="959753246"/>
-							<reference ref="810889119"/>
-							<reference ref="56293250"/>
 							<reference ref="479196754"/>
-							<reference ref="827380328"/>
 							<reference ref="265024627"/>
-							<reference ref="838673501"/>
 							<reference ref="210635572"/>
 							<reference ref="1023011811"/>
 							<reference ref="197082050"/>
 							<reference ref="1004118256"/>
 							<reference ref="94212584"/>
 							<reference ref="514278996"/>
-							<reference ref="350492256"/>
-							<reference ref="543770792"/>
 							<reference ref="776162233"/>
 							<reference ref="425164168"/>
 							<reference ref="125904431"/>
+							<reference ref="810889119"/>
+							<reference ref="827380328"/>
+							<reference ref="350492256"/>
+							<reference ref="838673501"/>
 						</object>
 						<reference key="parent" ref="379814623"/>
 					</object>
 						<reference key="parent" ref="720053764"/>
 					</object>
 					<object class="IBObjectRecord">
-						<int key="objectID">406</int>
-						<reference key="object" ref="56293250"/>
-						<reference key="parent" ref="720053764"/>
-					</object>
-					<object class="IBObjectRecord">
 						<int key="objectID">407</int>
 						<reference key="object" ref="479196754"/>
 						<reference key="parent" ref="720053764"/>
 							<bool key="EncodedWithXMLCoder">YES</bool>
 							<reference ref="405135902"/>
 							<reference ref="58878564"/>
+							<reference ref="841277030"/>
 						</object>
 						<reference key="parent" ref="765825947"/>
 					</object>
 						<reference key="parent" ref="720053764"/>
 					</object>
 					<object class="IBObjectRecord">
-						<int key="objectID">573</int>
-						<reference key="object" ref="543770792"/>
-						<reference key="parent" ref="720053764"/>
-					</object>
-					<object class="IBObjectRecord">
 						<int key="objectID">555</int>
 						<reference key="object" ref="125904431"/>
 						<reference key="parent" ref="720053764"/>
 						<reference key="object" ref="743461433"/>
 						<reference key="parent" ref="502084290"/>
 					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">577</int>
+						<reference key="object" ref="841277030"/>
+						<object class="NSMutableArray" key="children">
+							<bool key="EncodedWithXMLCoder">YES</bool>
+							<reference ref="910140310"/>
+						</object>
+						<reference key="parent" ref="686502740"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">578</int>
+						<reference key="object" ref="910140310"/>
+						<reference key="parent" ref="841277030"/>
+					</object>
 				</object>
 			</object>
 			<object class="NSMutableDictionary" key="flattenedProperties">
 					<string>396.IBPluginDependency</string>
 					<string>398.IBPluginDependency</string>
 					<string>405.IBPluginDependency</string>
-					<string>406.IBPluginDependency</string>
 					<string>407.IBPluginDependency</string>
 					<string>408.IBPluginDependency</string>
 					<string>409.IBPluginDependency</string>
 					<string>57.IBPluginDependency</string>
 					<string>57.ImportedFromIB2</string>
 					<string>57.editorWindowContentRectSynchronizationRect</string>
-					<string>573.IBPluginDependency</string>
 					<string>575.IBPluginDependency</string>
+					<string>577.IBPluginDependency</string>
+					<string>578.IBPluginDependency</string>
 					<string>58.IBPluginDependency</string>
 					<string>58.ImportedFromIB2</string>
 					<string>72.IBPluginDependency</string>
 					<integer value="1"/>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<integer value="1"/>
-					<string>{{619, 827}, {240, 243}}</string>
+					<string>{{417, 593}, {240, 243}}</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<integer value="1"/>
 					<string>{{189, 593}, {243, 243}}</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<integer value="1"/>
 					<string>{{365, 733}, {197, 103}}</string>
-					<string>{{250, 1080}, {426, 20}}</string>
+					<string>{{250, 836}, {468, 20}}</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<integer value="1"/>
 					<string>{74, 862}</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-					<string>{{412, 917}, {293, 163}}</string>
+					<string>{{461, 673}, {219, 163}}</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>{{233, 693}, {296, 143}}</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>{{106, 240}, {484, 124}}</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>{{106, 240}, {484, 124}}</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<integer value="1"/>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-					<string>{{183, 263}, {404, 57}}</string>
+					<string>{{32, 299}, {404, 91}}</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-					<string>{{183, 263}, {404, 57}}</string>
+					<string>{{32, 299}, {404, 91}}</string>
 					<boolean value="NO"/>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<integer value="1"/>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<integer value="1"/>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<integer value="1"/>
-					<string>{{326, 707}, {303, 373}}</string>
+					<string>{{326, 483}, {284, 353}}</string>
 					<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
 					<integer value="1"/>
 					<string>{{147, 503}, {293, 333}}</string>
 				</object>
 			</object>
 			<nil key="sourceID"/>
-			<int key="maxID">576</int>
+			<int key="maxID">578</int>
 		</object>
 		<object class="IBClassDescriber" key="IBDocument.Classes">
 			<object class="NSMutableArray" key="referencedPartialClassDescriptions">
 							<bool key="EncodedWithXMLCoder">YES</bool>
 							<string>NSTextView</string>
 							<string>NSPanel</string>
-							<string>NSToolbarItem</string>
+							<string>NSSegmentedControl</string>
 							<string>NSSegmentedControl</string>
 							<string>NSSplitView</string>
 							<string>NSTextView</string>
 				</object>
 				<object class="IBPartialClassDescription">
 					<string key="className">NSObject</string>
-					<object class="IBClassDescriptionSource" key="sourceIdentifier" id="110215969">
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
 						<string key="majorKey">IBFrameworkSource</string>
 						<string key="minorKey">AppKit.framework/Headers/NSToolbarItem.h</string>
 					</object>
 					</object>
 				</object>
 				<object class="IBPartialClassDescription">
-					<string key="className">NSToolbarItem</string>
-					<string key="superclassName">NSObject</string>
-					<reference key="sourceIdentifier" ref="110215969"/>
-				</object>
-				<object class="IBPartialClassDescription">
 					<string key="className">NSTreeController</string>
 					<string key="superclassName">NSObjectController</string>
 					<object class="IBClassDescriptionSource" key="sourceIdentifier">

Resources/TextEditors.plist

 	</dict>
 	<dict>
 		<key>editorName</key>
+		<string>TextEdit</string>
+		<key>editorID</key>
+		<string>com.apple.TextEdit</string>
+	</dict>
+	<dict>
+		<key>editorName</key>
 		<string>TextMate</string>
 		<key>editorID</key>
 		<string>com.macromates.textmate</string>

Source/HgTempDir.m

 {
     NSString *bundleID = [[NSUserDefaults standardUserDefaults] stringForKey:kPrefPreferredTextEditorID];
     if (!bundleID)
-        bundleID = @"com.apple.Xcode";
+        bundleID = @"com.apple.TextEdit";
     
     NSArray *urls = [NSArray arrayWithObject: [NSURL fileURLWithPath: [self pathToFileNamed: name]]];
     return [[NSWorkspace sharedWorkspace] openURLs: urls

Source/MercurialApp.m

     if (!s_supportedTextEditors) {
         NSString *path = [[NSBundle mainBundle] pathForResource: @"TextEditors" ofType: @"plist"];
         s_supportedTextEditors = [NSArray arrayWithContentsOfFile: path];
-
-        // filter apps that can't be found
-        NSMutableArray *tmpSupportedTextEditors = [s_supportedTextEditors mutableCopy];
-        for (NSDictionary *value in s_supportedTextEditors) {
-            if ([[NSWorkspace sharedWorkspace] absolutePathForAppBundleWithIdentifier:(NSString *)[value objectForKey:@"editorID"]] == nil)
-                [tmpSupportedTextEditors removeObject:value];
-        }
-        s_supportedTextEditors = [tmpSupportedTextEditors copy];
-
         Assert(s_supportedTextEditors);
     }
     return s_supportedTextEditors;
     // update popup
     [_textEditorPreferenceButton removeAllItems];
     [_textEditorPreferenceButton addItemsWithTitles:[[self supportedTextEditors] valueForKeyPath:@"@unionOfObjects.editorName"]];
-
+    [_textEditorPreferenceButton setAutoenablesItems:NO];
+    
     for (id item in [[self supportedTextEditors] valueForKeyPath:@"@unionOfObjects.editorID"]) {
+        NSString *path = [[NSWorkspace sharedWorkspace] absolutePathForAppBundleWithIdentifier:(NSString *)item];
         NSMenuItem *menuItem = [_textEditorPreferenceButton itemAtIndex:[[[self supportedTextEditors] valueForKeyPath:@"@unionOfObjects.editorID"] indexOfObject:item]];
-        [menuItem setImage:[[NSWorkspace sharedWorkspace] iconForFile:[[NSWorkspace sharedWorkspace] absolutePathForAppBundleWithIdentifier:(NSString *)item]]];
+        [menuItem setImage:[[NSWorkspace sharedWorkspace] iconForFile:path]];
         [[menuItem image] setSize:NSMakeSize(16, 16)];
+        if (path == nil)
+            [menuItem setEnabled:NO];
     }
 
    NSString *selectedEditorID = [[NSUserDefaults standardUserDefaults] stringForKey:kPrefPreferredTextEditorID];
     if (!selectedEditorID)
-        selectedEditorID = @"com.apple.Xcode";
+        selectedEditorID = @"com.apple.TextEdit";
     int selectedItemIndex = [[[self supportedTextEditors] valueForKeyPath:@"@unionOfObjects.editorID"] indexOfObject:selectedEditorID];
     if (selectedItemIndex == NSNotFound)
         selectedItemIndex = 0;