Skip to content

Commit e3559c9

Browse files
committed
Hide SVN controls if repository doesn't have a SVN remote instead of only disabling them.
1 parent d609816 commit e3559c9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

PBGitSidebarController.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,8 +522,11 @@ - (void) updateRemoteControls
522522
// get config
523523
BOOL hasSVN = [repository hasSvnRemote];
524524
[svnFetchButton setEnabled:hasSVN];
525+
[svnFetchButton setTransparent:!hasSVN];
525526
[svnRebaseButton setEnabled:hasSVN];
527+
[svnRebaseButton setTransparent:!hasSVN];
526528
[svnDcommitButton setEnabled:hasSVN];
529+
[svnDcommitButton setTransparent:!hasSVN];
527530
}
528531

529532
- (IBAction) fetchPullPushAction:(id)sender

0 commit comments

Comments
 (0)