Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wolf2019-10-14 06:56:31 -0400
committerThomas Wolf2019-10-17 05:00:02 -0400
commit7704906cfc0e237ebb4019d3da911486fa0ba9d8 (patch)
tree92edd271400c230adb55a8e8d32a673e0c13350f /org.eclipse.egit.ui/META-INF/MANIFEST.MF
parent7110c6405d11cc3409017f881c8431991a28dcaf (diff)
downloadegit-master.tar.gz
egit-master.tar.xz
egit-master.zip
[repo view] Let "link with selection" be always enabledHEADmaster
It's actually a normal state toggling command for which a default handler is fine. It didn't have a default handler because it was badly implemented and assumed that the currently active part was the repositories view. Change the handling of all three toggle commands in the repositories view. Let them only toggle their state, don't make them refresh the view. Make the view listen to state changes and refresh if needed. The content provider doesn't need to listen to changes; it has no way to inform the viewer to refresh. Also remove duplicating the state into local boolean variables; use the state's current value instead. Bug: 537958 Change-Id: I2027a64bd6f4e88439e7975b9d3c3eb3d381efef Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.egit.ui/META-INF/MANIFEST.MF')
0 files changed, 0 insertions, 0 deletions

Back to the top