Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanlm committed Jan 25, 2024
1 parent 8663065 commit ee66c7f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion Iceberg-TipUI/IceTipCommitBrowser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ IceTipCommitBrowser >> diffPanel: aSpPresenter [
diffPanel := aSpPresenter
]

{ #category : 'private' }
IceTipCommitBrowser >> diffToReferenceCommit [

^ self workingCopyModel diffToReferenceCommit
]

{ #category : 'actions' }
IceTipCommitBrowser >> doCollapseSelection [

Expand Down Expand Up @@ -166,7 +172,7 @@ IceTipCommitBrowser >> initializeAcceptShortcut [
{ #category : 'initialization' }
IceTipCommitBrowser >> initializePresenters [

diffPanel := self instantiate: IceTipDiffSelectingPanel on: self workingCopyModel diffToReferenceCommit.
diffPanel := self instantiate: IceTipDiffSelectingPanel on: self diffToReferenceCommit.
diffPanel leftLabel: 'Repository'.
diffPanel rightLabel: 'Working Copy'.

Expand Down
2 changes: 1 addition & 1 deletion Iceberg-TipUI/IceTipDiffPanel.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ IceTipDiffPanel >> subscribeToAnnouncements [
to: self
]

{ #category : 'specs' }
{ #category : 'initialization' }
IceTipDiffPanel >> titleForWindow [

^ 'Diff'
Expand Down

0 comments on commit ee66c7f

Please sign in to comment.