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