Skip to content

Commit

Permalink
Merge pull request #771 from badetitou/use-taskbar-icon-name
Browse files Browse the repository at this point in the history
Use taskbar icon name for inspector and playground
  • Loading branch information
Ducasse authored Jun 13, 2024
2 parents 4ee54dc + f1979f7 commit 48ba042
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions src/NewTools-Inspector/StInspectorPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,12 @@ StInspectorPresenter >> stopProcessing [
StInspectorRefreshService uniqueInstance unregister: self
]

{ #category : 'initialization' }
StInspectorPresenter >> taskbarIconName [

^ #smallInspectIt
]

{ #category : 'private - updating' }
StInspectorPresenter >> updateList [

Expand All @@ -340,12 +346,6 @@ StInspectorPresenter >> updateTitle [
window title: self title ].
]

{ #category : 'initialization' }
StInspectorPresenter >> windowIcon [

^ self application iconNamed: #smallInspectIt
]

{ #category : 'initialization' }
StInspectorPresenter >> windowTitle [

Expand Down
12 changes: 6 additions & 6 deletions src/NewTools-Playground/StPlaygroundPagePresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,12 @@ StPlaygroundPagePresenter >> showLineNumbers: aBoolean [
toggleLineNumberButton label: (StShowLineNumbersCommand iconLabelFor: self showLineNumbers)
]

{ #category : 'initialization' }
StPlaygroundPagePresenter >> taskbarIconName [

^ #workspace
]

{ #category : 'private' }
StPlaygroundPagePresenter >> text [

Expand Down Expand Up @@ -430,9 +436,3 @@ StPlaygroundPagePresenter >> whenActivatedDo: aBlock [

activationBlock := aBlock
]

{ #category : 'initialization' }
StPlaygroundPagePresenter >> windowIcon [

^ self application iconNamed: #workspace
]
4 changes: 2 additions & 2 deletions src/NewTools-Playground/StPlaygroundPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ StPlaygroundPresenter >> stopProcessing [
]

{ #category : 'initialization' }
StPlaygroundPresenter >> windowIcon [
StPlaygroundPresenter >> taskbarIconName [

^ self application iconNamed: #workspace
^ #workspace
]

{ #category : 'initialization' }
Expand Down

0 comments on commit 48ba042

Please sign in to comment.