]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
AFSPreference Pane Mounts View refresh issue
authorClaudio Bisegni <Claudio.Bisegni@lnf.infn.it>
Mon, 19 Oct 2009 15:34:09 +0000 (17:34 +0200)
committerDerrick Brashear <shadow|account-1000005@unknown>
Mon, 19 Oct 2009 18:08:31 +0000 (11:08 -0700)
Resolved the bug that prevented to show the link description after it was added.
Now the table is refreshed at any operation(add/remove).

Reviewed-on: http://gerrit.openafs.org/682
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/platform/DARWIN/AFSPreference/AFSCommanderPref.m

index a413c171b37766fd4de3810b358d93a35663b502..ecaacfbd2640447e99263819c9075f3558ee716c 100644 (file)
 //  manageButtonState:
 // -------------------------------------------------------------------------------
 -(void) tableViewLinkmanageButtonState:(NSIndexSet *) rowsSelectedIndex {
-       NSLog(@"link selected %d", [rowsSelectedIndex count]);
        [buttonRemoveLink setEnabled:[rowsSelectedIndex count]>0];
 }
 @end
 - (void)didEndSymlinkSheet:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo
 {
        [lyncCreationSheet orderOut:self];
+       [self readPreferenceFile];
+       [tableViewLink reloadData];
+       
 }
 @end