Skip to content

Commit

Permalink
no tmp variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ekrebs5 authored Oct 26, 2023
1 parent bad94e1 commit df3e046
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions SwaImageConfiguration.st
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"-=-=-=-=-="
|progdir base options tmpCode|
|progdir base options|

"Initial Setup"
FileStream startUp: true.
Expand Down Expand Up @@ -166,8 +166,9 @@ Utilities setAuthorInitials: 'hpi'. "changed at end"

"-=-=-=-=-="
"w shortcut to delete windows - experimental for SWA WiSe 23/24"
"tmpCode := 'filterEvent: aKeyboardEvent for: anObject
""Provide keyboard shortcuts.""

SystemWindow compile: 'filterEvent: aKeyboardEvent for: anObject
"Provide keyboard shortcuts."
aKeyboardEvent isKeystroke
ifFalse: [^ aKeyboardEvent].
Expand All @@ -187,16 +188,14 @@ Utilities setAuthorInitials: 'hpi'. "changed at end"
aKeyboardEvent keyCharacter caseOf: {
[Character escape] -> [self world findWindow: aKeyboardEvent].
} otherwise: [^ aKeyboardEvent ""no hit""].
^ aKeyboardEvent ignore ""hit!""].
^ aKeyboardEvent ignore "hit!"].
^ aKeyboardEvent "no hit"'.

SystemWindow compile: tmpCode."

"-=-=-=-=-="
"Remove Git Updates from PreferenceWizard as we use a special git version"

tmpCode := 'initializePage99ExtraPackages
PreferenceWizardMorph compile: 'initializePage99ExtraPackages
"Let the user install extra packages."
| currentPage packagesList installButton |
Expand Down Expand Up @@ -251,7 +250,6 @@ tmpCode := 'initializePage99ExtraPackages
^ currentPage'.

PreferenceWizardMorph compile: tmpCode.

"-=-=-=-=-="

Expand Down

0 comments on commit df3e046

Please sign in to comment.