Author: ericwa
Date: Tue Mar 25 18:49:02 2014
New Revision: 10639

URL: http://svn.gna.org/viewcvs/etoile?rev=10639&view=rev
Log:
Branches inspector; don't switch branch on double click

Modified:
    
trunk/Etoile/Frameworks/CoreObject/Samples/ProjectDemo/EWBranchesWindowController.m

Modified: 
trunk/Etoile/Frameworks/CoreObject/Samples/ProjectDemo/EWBranchesWindowController.m
URL: 
http://svn.gna.org/viewcvs/etoile/trunk/Etoile/Frameworks/CoreObject/Samples/ProjectDemo/EWBranchesWindowController.m?rev=10639&r1=10638&r2=10639&view=diff
==============================================================================
--- 
trunk/Etoile/Frameworks/CoreObject/Samples/ProjectDemo/EWBranchesWindowController.m
 (original)
+++ 
trunk/Etoile/Frameworks/CoreObject/Samples/ProjectDemo/EWBranchesWindowController.m
 Tue Mar 25 18:49:02 2014
@@ -32,8 +32,6 @@
 
 - (void) awakeFromNib
 {
-    [table setDoubleAction: @selector(doubleClick:)];
-    [table setTarget: self];
 }
 
 - (void) setInspectedWindowController: (EWDocumentWindowController *)aDoc
@@ -90,20 +88,6 @@
        
     COBranch *branch = [[self orderedBranches] objectAtIndex: [table 
selectedRow]];
     return branch;
-}
-
-- (void)doubleClick: (id)sender
-{
-       if (sender == table)
-       {
-               COBranch *branch = [self selectedBranch];
-               
-               if (branch != nil)
-               {
-                       [_persistentRoot setCurrentBranch: branch];
-                       [self commitWithIdentifier: @"set-branch"];
-               }
-       }
 }
 
 - (void)deleteForward:(id)sender


_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs

Reply via email to