Compare commits
No commits in common. "9c9776bacd19ce27948a21dd449f78e8965f58e2" and "214c3498692cc7d81e233fcf6c27dccf448ab591" have entirely different histories.
9c9776bacd
...
214c349869
@ -4,10 +4,8 @@
|
||||
AWK = env LC_ALL=C awk
|
||||
|
||||
tools = ../liberty/tools
|
||||
generated = FyneApp.toml xA.png xA-highlighted.png beep.raw proto.go
|
||||
outputs = xA $(generated)
|
||||
outputs = FyneApp.toml xA proto.go xA.png xA-highlighted.png beep.raw
|
||||
all: $(outputs)
|
||||
generate: $(generated)
|
||||
|
||||
FyneApp.toml: ../xK-version
|
||||
printf "\
|
||||
@ -29,7 +27,7 @@ beep.raw:
|
||||
proto.go: $(tools)/lxdrgen.awk $(tools)/lxdrgen-go.awk ../xC.lxdr
|
||||
$(AWK) -f $(tools)/lxdrgen.awk -f $(tools)/lxdrgen-go.awk \
|
||||
-v PrefixCamel=Relay ../xC.lxdr > $@
|
||||
xA: xA.go ../xK-version $(generated)
|
||||
xA: xA.go proto.go ../xK-version xA.png xA-highlighted.png beep.raw
|
||||
go build -ldflags "-X 'main.projectVersion=$$(cat ../xK-version)'" -o $@ \
|
||||
-gcflags=all="-N -l"
|
||||
clean:
|
||||
|
9
xA/xA.go
9
xA/xA.go
@ -1322,8 +1322,7 @@ func (e *inputEntry) SetText(text string) {
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
type logEntry struct {
|
||||
// XXX: Sadly, we can't seem to make it actually read-only.
|
||||
// https://github.com/fyne-io/fyne/issues/5263
|
||||
// XXX: Sadly, we can't seem to make it read-only in any way.
|
||||
widget.Entry
|
||||
}
|
||||
|
||||
@ -1335,12 +1334,6 @@ func newLogEntry() *logEntry {
|
||||
return e
|
||||
}
|
||||
|
||||
func (e *logEntry) SetText(text string) {
|
||||
e.OnChanged = nil
|
||||
e.Entry.SetText(text)
|
||||
e.OnChanged = func(string) { e.Entry.SetText(text) }
|
||||
}
|
||||
|
||||
func (e *logEntry) AcceptsTab() bool {
|
||||
return false
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user