The raw view have been removed, but it was still available in the "view" menu, athough it toggled the tree view (thus the "Tree view" menu entry was ineffective)

---
English.lproj/MainMenu.xib | 155 +++++++++++++++++++++++++++++++++ +----------
 PBGitHistoryController.h   |    4 +-
 PBGitHistoryController.m   |    8 +--
 3 files changed, 124 insertions(+), 43 deletions(-)

diff --git a/English.lproj/MainMenu.xib b/English.lproj/MainMenu.xib
index 8dbbc74..01bd588 100644
--- a/English.lproj/MainMenu.xib
+++ b/English.lproj/MainMenu.xib
@@ -2,13 +2,13 @@
 <archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03">
        <data>
                <int key="IBDocument.SystemTarget">1050</int>
-               <string key="IBDocument.SystemVersion">9G55</string>
+               <string key="IBDocument.SystemVersion">9L30</string>
                <string key="IBDocument.InterfaceBuilderVersion">677</string>
-               <string key="IBDocument.AppKitVersion">949.43</string>
+               <string key="IBDocument.AppKitVersion">949.54</string>
                <string key="IBDocument.HIToolboxVersion">353.00</string>
                <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
                        <bool key="EncodedWithXMLCoder">YES</bool>
-                       <integer value="81"/>
+                       <integer value="339"/>
                </object>
                <object class="NSArray" key="IBDocument.PluginDependencies">
                        <bool key="EncodedWithXMLCoder">YES</bool>
@@ -711,19 +711,10 @@
                                                                        <reference 
key="NSOnImage" ref="889736156"/>
                                                                        <reference 
key="NSMixedImage" ref="37108609"/>
                                                                </object>
-                                                               <object class="NSMenuItem" 
id="260530711">
-                                                                       <reference 
key="NSMenu" ref="245837913"/>
-                                                                       <string 
key="NSTitle">Raw View</string>
-                                                                       <string 
key="NSKeyEquiv">2</string>
-                                                                       <int 
key="NSKeyEquivModMask">1572864</int>
-                                                                       <int 
key="NSMnemonicLoc">2147483647</int>
-                                                                       <reference 
key="NSOnImage" ref="889736156"/>
-                                                                       <reference 
key="NSMixedImage" ref="37108609"/>
-                                                               </object>
                                                                <object class="NSMenuItem" 
id="310106156">
                                                                        <reference 
key="NSMenu" ref="245837913"/>
                                                                        <string 
key="NSTitle">Tree View</string>
-                                                                       <string 
key="NSKeyEquiv">3</string>
+                                                                       <string 
key="NSKeyEquiv">2</string>
                                                                        <int 
key="NSKeyEquivModMask">1572864</int>
                                                                        <int 
key="NSMnemonicLoc">2147483647</int>
                                                                        <reference 
key="NSOnImage" ref="889736156"/>
@@ -1158,14 +1149,6 @@
                                </object>
                                <object class="IBConnectionRecord">
                                        <object class="IBActionConnection" 
key="connection">
-                                               <string 
key="label">setRawView:</string>
-                                               <reference key="source" 
ref="954860085"/>
-                                               <reference key="destination" 
ref="260530711"/>
-                                       </object>
-                                       <int key="connectionID">924</int>
-                               </object>
-                               <object class="IBConnectionRecord">
-                                       <object class="IBActionConnection" 
key="connection">
                                                <string 
key="label">setTreeView:</string>
                                                <reference key="source" 
ref="954860085"/>
                                                <reference key="destination" 
ref="310106156"/>
@@ -1769,7 +1752,6 @@
                                                        <reference 
ref="644618837"/>
                                                        <reference 
ref="820559771"/>
                                                        <reference 
ref="1062123434"/>
-                                                       <reference 
ref="260530711"/>
                                                        <reference 
ref="310106156"/>
                                                        <reference 
ref="554502465"/>
                                                        <reference 
ref="552718495"/>
@@ -1806,11 +1788,6 @@
                                                <reference key="parent" 
ref="245837913"/>
                                        </object>
                                        <object class="IBObjectRecord">
-                                               <int key="objectID">851</int>
-                                               <reference key="object" 
ref="260530711"/>
-                                               <reference key="parent" 
ref="245837913"/>
-                                       </object>
-                                       <object class="IBObjectRecord">
                                                <int key="objectID">852</int>
                                                <reference key="object" 
ref="310106156"/>
                                                <reference key="parent" 
ref="245837913"/>
@@ -2043,7 +2020,6 @@
                                        <string>83.ImportedFromIB2</string>
                                        <string>847.IBPluginDependency</string>
                                        <string>848.IBPluginDependency</string>
-                                       <string>851.IBPluginDependency</string>
                                        <string>852.IBPluginDependency</string>
                                        <string>908.IBPluginDependency</string>
                                        <string>909.IBPluginDependency</string>
@@ -2123,7 +2099,7 @@
                                        <reference ref="9"/>
                                        
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <reference ref="9"/>
-                                       <string>{{370, 623}, {243, 
243}}</string>
+                                       <string>{{624, 493}, {243, 
243}}</string>
                                        
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <reference ref="9"/>
                                        <string>{{455, 493}, {243, 
243}}</string>
@@ -2188,7 +2164,7 @@
                                        <string>{{297, 739}, {329, 20}}</string>
                                        
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <reference ref="9"/>
-                                       <string>{{668, 647}, {234, 
193}}</string>
+                                       <string>{{668, 563}, {234, 
173}}</string>
                                        
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        <reference ref="9"/>
                                        <string>{{499, 623}, {234, 
113}}</string>
@@ -2241,7 +2217,6 @@
                                        
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                        
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
-                                       
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
                                </object>
                        </object>
                        <object class="NSMutableDictionary" 
key="unlocalizedProperties">
@@ -2278,8 +2253,8 @@
                                                        <bool 
key="EncodedWithXMLCoder">YES</bool>
                                                        
<string>installCliTool:</string>
                                                        
<string>openPreferencesWindow:</string>
-                                                       
<string>showAboutPanel:</string>
                                                        
<string>saveAction:</string>
+                                                       
<string>showAboutPanel:</string>
                                                        
<string>showHelp:</string>
                                                </object>
                                                <object class="NSMutableArray" 
key="dict.values">
@@ -2341,6 +2316,14 @@
                                        </object>
                                </object>
                                <object class="IBPartialClassDescription">
+                                       <string 
key="className">PBCollapsibleSplitView</string>
+                                       <string 
key="superclassName">PBNiceSplitView</string>
+                                       <object class="IBClassDescriptionSource" 
key="sourceIdentifier">
+                                               <string 
key="majorKey">IBProjectSource</string>
+                                               <string 
key="minorKey">PBCollapsibleSplitView.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
                                        <string 
key="className">PBGitCommitController</string>
                                        <string 
key="superclassName">PBViewController</string>
                                        <object class="NSMutableDictionary" 
key="actions">
@@ -2349,11 +2332,13 @@
                                                        <bool 
key="EncodedWithXMLCoder">YES</bool>
                                                        <string>commit:</string>
                                                        
<string>refresh:</string>
+                                                       
<string>signOff:</string>
                                                </object>
                                                <object class="NSMutableArray" 
key="dict.values">
                                                        <bool 
key="EncodedWithXMLCoder">YES</bool>
                                                        <string>id</string>
                                                        <string>id</string>
+                                                       <string>id</string>
                                                </object>
                                        </object>
                                        <object class="NSMutableDictionary" 
key="outlets">
@@ -2370,9 +2355,9 @@
                                                        <bool 
key="EncodedWithXMLCoder">YES</bool>
                                                        
<string>NSArrayController</string>
                                                        
<string>NSTextView</string>
-                                                       <string>id</string>
+                                                       
<string>PBGitIndexController</string>
                                                        
<string>NSArrayController</string>
-                                                       <string>id</string>
+                                                       
<string>PBWebChangesController</string>
                                                </object>
                                        </object>
                                        <object class="IBClassDescriptionSource" 
key="sourceIdentifier">
@@ -2387,11 +2372,14 @@
                                                <bool 
key="EncodedWithXMLCoder">YES</bool>
                                                <object class="NSMutableArray" 
key="dict.sortedKeys">
                                                        <bool 
key="EncodedWithXMLCoder">YES</bool>
+                                                       
<string>openFilesAction:</string>
                                                        
<string>openSelectedFile:</string>
                                                        
<string>refresh:</string>
                                                        
<string>setDetailedView:</string>
                                                        
<string>setRawView:</string>
                                                        
<string>setTreeView:</string>
+                                                       
<string>showCommitsFromTree:</string>
+                                                       
<string>showInFinderAction:</string>
                                                        
<string>toggleQuickView:</string>
                                                </object>
                                                <object class="NSMutableArray" 
key="dict.values">
@@ -2402,6 +2390,9 @@
                                                        <string>id</string>
                                                        <string>id</string>
                                                        <string>id</string>
+                                                       <string>id</string>
+                                                       <string>id</string>
+                                                       <string>id</string>
                                                </object>
                                        </object>
                                        <object class="NSMutableDictionary" 
key="outlets">
@@ -2411,6 +2402,7 @@
                                                        
<string>commitController</string>
                                                        
<string>commitList</string>
                                                        
<string>fileBrowser</string>
+                                                       
<string>historySplitView</string>
                                                        
<string>searchField</string>
                                                        
<string>treeController</string>
                                                        <string>webView</string>
@@ -2420,6 +2412,7 @@
                                                        
<string>NSArrayController</string>
                                                        
<string>NSTableView</string>
                                                        
<string>NSOutlineView</string>
+                                                       
<string>PBCollapsibleSplitView</string>
                                                        
<string>NSSearchField</string>
                                                        
<string>NSTreeController</string>
                                                        <string>id</string>
@@ -2431,6 +2424,46 @@
                                        </object>
                                </object>
                                <object class="IBPartialClassDescription">
+                                       <string 
key="className">PBGitIndexController</string>
+                                       <string 
key="superclassName">NSObject</string>
+                                       <object class="NSMutableDictionary" 
key="actions">
+                                               <bool 
key="EncodedWithXMLCoder">YES</bool>
+                                               <object class="NSMutableArray" 
key="dict.sortedKeys">
+                                                       <bool 
key="EncodedWithXMLCoder">YES</bool>
+                                                       
<string>rowClicked:</string>
+                                                       
<string>tableClicked:</string>
+                                               </object>
+                                               <object class="NSMutableArray" 
key="dict.values">
+                                                       <bool 
key="EncodedWithXMLCoder">YES</bool>
+                                                       <string>NSCell</string>
+                                                       
<string>NSTableView</string>
+                                               </object>
+                                       </object>
+                                       <object class="NSMutableDictionary" 
key="outlets">
+                                               <bool 
key="EncodedWithXMLCoder">YES</bool>
+                                               <object class="NSMutableArray" 
key="dict.sortedKeys">
+                                                       <bool 
key="EncodedWithXMLCoder">YES</bool>
+                                                       
<string>commitController</string>
+                                                       
<string>stagedFilesController</string>
+                                                       
<string>stagedTable</string>
+                                                       
<string>unstagedFilesController</string>
+                                                       
<string>unstagedTable</string>
+                                               </object>
+                                               <object class="NSMutableArray" 
key="dict.values">
+                                                       <bool 
key="EncodedWithXMLCoder">YES</bool>
+                                                       
<string>PBGitCommitController</string>
+                                                       
<string>NSArrayController</string>
+                                                       
<string>NSTableView</string>
+                                                       
<string>NSArrayController</string>
+                                                       
<string>NSTableView</string>
+                                               </object>
+                                       </object>
+                                       <object class="IBClassDescriptionSource" 
key="sourceIdentifier">
+                                               <string 
key="majorKey">IBProjectSource</string>
+                                               <string 
key="minorKey">PBGitIndexController.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
                                        <string 
key="className">PBGitWindowController</string>
                                        <string 
key="superclassName">NSWindowController</string>
                                        <object class="NSMutableDictionary" 
key="actions">
@@ -2502,6 +2535,14 @@
                                        </object>
                                </object>
                                <object class="IBPartialClassDescription">
+                                       <string 
key="className">PBNiceSplitView</string>
+                                       <string 
key="superclassName">NSSplitView</string>
+                                       <object class="IBClassDescriptionSource" 
key="sourceIdentifier">
+                                               <string 
key="majorKey">IBProjectSource</string>
+                                               <string 
key="minorKey">PBNiceSplitView.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
                                        <string 
key="className">PBRepositoryDocumentController</string>
                                        <string 
key="superclassName">NSDocumentController</string>
                                        <object class="IBClassDescriptionSource" 
key="sourceIdentifier">
@@ -2529,6 +2570,52 @@
                                                <string 
key="minorKey">PBViewController.h</string>
                                        </object>
                                </object>
+                               <object class="IBPartialClassDescription">
+                                       <string 
key="className">PBWebChangesController</string>
+                                       <string 
key="superclassName">PBWebController</string>
+                                       <object class="NSMutableDictionary" 
key="outlets">
+                                               <bool 
key="EncodedWithXMLCoder">YES</bool>
+                                               <object class="NSMutableArray" 
key="dict.sortedKeys">
+                                                       <bool 
key="EncodedWithXMLCoder">YES</bool>
+                                                       
<string>cachedFilesController</string>
+                                                       
<string>controller</string>
+                                                       
<string>indexController</string>
+                                                       
<string>unstagedFilesController</string>
+                                               </object>
+                                               <object class="NSMutableArray" 
key="dict.values">
+                                                       <bool 
key="EncodedWithXMLCoder">YES</bool>
+                                                       
<string>NSArrayController</string>
+                                                       
<string>PBGitCommitController</string>
+                                                       
<string>PBGitIndexController</string>
+                                                       
<string>NSArrayController</string>
+                                               </object>
+                                       </object>
+                                       <object class="IBClassDescriptionSource" 
key="sourceIdentifier">
+                                               <string 
key="majorKey">IBProjectSource</string>
+                                               <string 
key="minorKey">PBWebChangesController.h</string>
+                                       </object>
+                               </object>
+                               <object class="IBPartialClassDescription">
+                                       <string 
key="className">PBWebController</string>
+                                       <string 
key="superclassName">NSObject</string>
+                                       <object class="NSMutableDictionary" 
key="outlets">
+                                               <bool 
key="EncodedWithXMLCoder">YES</bool>
+                                               <object class="NSMutableArray" 
key="dict.sortedKeys">
+                                                       <bool 
key="EncodedWithXMLCoder">YES</bool>
+                                                       
<string>repository</string>
+                                                       <string>view</string>
+                                               </object>
+                                               <object class="NSMutableArray" 
key="dict.values">
+                                                       <bool 
key="EncodedWithXMLCoder">YES</bool>
+                                                       <string>id</string>
+                                                       <string>WebView</string>
+                                               </object>
+                                       </object>
+                                       <object class="IBClassDescriptionSource" 
key="sourceIdentifier">
+                                               <string 
key="majorKey">IBProjectSource</string>
+                                               <string 
key="minorKey">PBWebController.h</string>
+                                       </object>
+                               </object>
                        </object>
<object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.1+">
                                <bool key="EncodedWithXMLCoder">YES</bool>
diff --git a/PBGitHistoryController.h b/PBGitHistoryController.h
index fadb6cd..64d4cd3 100644
--- a/PBGitHistoryController.h
+++ b/PBGitHistoryController.h
@@ -25,17 +25,15 @@
        
        PBGitTree* gitTree;
        PBGitCommit* webCommit;
-       PBGitCommit* rawCommit;
        PBGitCommit* realCommit;
 }

 @property (assign) int selectedTab;
-...@property (retain) PBGitCommit *webCommit, *rawCommit;
+...@property (retain) PBGitCommit *webCommit;
 @property (retain) PBGitTree* gitTree;
 @property (readonly) NSArrayController *commitController;

 - (IBAction) setDetailedView: sender;
-- (IBAction) setRawView: sender;
 - (IBAction) setTreeView: sender;

 - (void) selectCommit: (NSString*) commit;
diff --git a/PBGitHistoryController.m b/PBGitHistoryController.m
index a9fde36..afb142b 100644
--- a/PBGitHistoryController.m
+++ b/PBGitHistoryController.m
@@ -15,7 +15,7 @@


 @implementation PBGitHistoryController
-...@synthesize selectedTab, webCommit, rawCommit, gitTree, commitController;
+...@synthesize selectedTab, webCommit, gitTree, commitController;

 - (void)awakeFromNib
 {
@@ -61,7 +61,6 @@ - (void) updateKeys
                realCommit = nil;
        
        self.webCommit = nil;
-       self.rawCommit = nil;
        self.gitTree = nil;
        
        switch (self.selectedTab) {
@@ -109,11 +108,8 @@ - (IBAction) openSelectedFile: sender
 - (IBAction) setDetailedView: sender {
        self.selectedTab = 0;
 }
-- (IBAction) setRawView: sender {
-       self.selectedTab = 1;
-}
 - (IBAction) setTreeView: sender {
-       self.selectedTab = 2;
+       self.selectedTab = 1;
 }

 - (void)keyDown:(NSEvent*)event
--
1.6.5

Boris de Laage
[email protected]




Reply via email to