Skip to content

Commit

Permalink
Merge pull request #968 from Ducasse/noGlamorousIconNames
Browse files Browse the repository at this point in the history
No glamorous icon names
  • Loading branch information
Ducasse authored Jan 29, 2025
2 parents 612a06e + b8548ae commit 439cfb1
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 20 deletions.
8 changes: 4 additions & 4 deletions src/NewTools-Scopes-Editor/ScopeNodesPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ ScopeNodesPresenter >> argumentsListActions [
^ SpActionGroup new
addActionWith: [ :anItem | anItem
name: 'Check all Cmd-a';
iconName: #glamorousAccept;
iconName: #accept;
action: [ self checkAll ] ];
addActionWith: [ :anItem | anItem
name: 'Unheck all';
shortcutKey: $u actionModifier;
iconName: #glamorousAccept;
iconName: #accept;
action: [ self uncheckAll ] ];
addActionWith: [ :anItem | anItem
name: 'Add class hierarchy (flattened)';
Expand All @@ -125,12 +125,12 @@ ScopeNodesPresenter >> argumentsListActions [
addActionWith: [ :anItem | anItem
name: 'Browse';
actionEnabled: [ scopeNodesTree selectedItem isNotNil ];
iconName: #glamorousBrowse;
iconName: #browse;
action: [ self browseSelectedItem ] ];
addActionWith: [ :anItem | anItem
name: 'Class references';
actionEnabled: [ scopeNodesTree selectedItem isClassNode ];
iconName: #glamorousBrowse;
iconName: #browse;
action: [ self showReferencesToClass: scopeNodesTree selectedItem value ] ];
addShortcutWith: [ :action | action
shortcutKey: $a actionModifier;
Expand Down
8 changes: 4 additions & 4 deletions src/NewTools-Scopes-Editor/ScopesPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -89,20 +89,20 @@ ScopesPresenter >> argumentsListActions [
addActionWith: [ :anItem | anItem
name: 'Delete';
actionEnabled: [ scopesTree selectedItem isScopeNode ];
iconName: #glamorousTrash;
iconName: #trash;
action: [ self deleteSelectedScope ] ];
addActionWith: [ :anItem | anItem
name: 'Edit';
actionEnabled: [ scopesTree selectedItem isScopeNode ];
iconName: #glamorousEdit;
iconName: #edit;
action: [ self editSelectedScope ] ];
addActionWith: [ :anItem | anItem
name: 'Rename';
actionEnabled: [ scopesTree selectedItem isScopeNode ];
action: [ self renameSelectedScope ] ];
addActionWith: [ :anItem | anItem
name: 'Inspect';
iconName: #glamorousSearch;
iconName: #search;
action: [ scopesTree selectedItem inspect ] ];
addActionWith: [ :anItem | anItem
name: 'Open in browser';
Expand All @@ -111,7 +111,7 @@ ScopesPresenter >> argumentsListActions [
addActionWith: [ :anItem | anItem
name: 'Browse';
actionEnabled: [ scopesTree selectedItem isScopeNode not ];
iconName: #glamorousBrowse;
iconName: #browse;
action: [ self browseSelectedItem ] ];
addActionWith: [ :anItem | anItem
name: 'Class references';
Expand Down
7 changes: 0 additions & 7 deletions src/NewTools-SettingsBrowser/StSettingsMainPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -217,13 +217,6 @@ StSettingsMainPresenter >> initializePresenters [
self initializeFocus.
]

{ #category : 'initialization' }
StSettingsMainPresenter >> initializeWindow: aWindowPresenter [

super initializeWindow: aWindowPresenter.
aWindowPresenter centered
]

{ #category : 'loading' }
StSettingsMainPresenter >> loadSettings [
"Load the settings from the system settings file, if exists"
Expand Down
6 changes: 3 additions & 3 deletions src/NewTools-Spotter/StSpotter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ StSpotter class >> createTips [
StSpotter class >> defaultPreferredExtent [

^ self isShowingPreview
ifTrue: [ (750@850) ]
ifFalse: [ (500@850) ]
ifTrue: [ (750@680) ]
ifFalse: [ (500@680) ]
]

{ #category : 'accessing' }
Expand Down Expand Up @@ -556,7 +556,7 @@ StSpotter >> initializeWindow: aWindowPresenter [
aWindowPresenter
title: 'Spotter';
withoutDecorations;
initialExtent: self initialExtent;
initialExtent: self preferredExtent;
whenOpenedDo: [ self startProcessing ];
whenClosedDo: [
self stopProcessing.
Expand Down
3 changes: 1 addition & 2 deletions src/NewTools-WelcomeBrowser/StWelcomeBrowser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ StWelcomeBrowser >> initializeWindow: aWindowPresenter [
super initializeWindow: aWindowPresenter.
aWindowPresenter
bindKeyCombination: Character arrowRight asKeyCombination toAction: [ self selectNext ];
bindKeyCombination: Character arrowLeft asKeyCombination toAction: [ self selectPrevious ];
centered
bindKeyCombination: Character arrowLeft asKeyCombination toAction: [ self selectPrevious ]
]

{ #category : 'accessing - contents' }
Expand Down

0 comments on commit 439cfb1

Please sign in to comment.