mirror of https://github.com/zlatinb/muwire
get rid of Say button in chat
parent
2bfe5946c3
commit
734beab376
|
@ -460,7 +460,6 @@ CONNECTION_STATUS=Connection Status
|
||||||
|
|
||||||
## Chat room tab
|
## Chat room tab
|
||||||
SAY_SOMETHING_HERE=Write something here
|
SAY_SOMETHING_HERE=Write something here
|
||||||
SAY=Say
|
|
||||||
START_PRIVATE_CHAT=Start Private Chat
|
START_PRIVATE_CHAT=Start Private Chat
|
||||||
|
|
||||||
## Chat monitor
|
## Chat monitor
|
||||||
|
|
|
@ -64,7 +64,6 @@ class ChatRoomView {
|
||||||
borderLayout()
|
borderLayout()
|
||||||
label(text : trans("SAY_SOMETHING_HERE") + ": ", constraints : BorderLayout.WEST)
|
label(text : trans("SAY_SOMETHING_HERE") + ": ", constraints : BorderLayout.WEST)
|
||||||
sayField = textField(enabled : bind {parentModel.sayActionEnabled}, actionPerformed : {controller.say()}, constraints : BorderLayout.CENTER)
|
sayField = textField(enabled : bind {parentModel.sayActionEnabled}, actionPerformed : {controller.say()}, constraints : BorderLayout.CENTER)
|
||||||
button(enabled : bind {parentModel.sayActionEnabled},text : trans("SAY"), constraints : BorderLayout.EAST, sayAction)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -96,7 +95,6 @@ class ChatRoomView {
|
||||||
borderLayout()
|
borderLayout()
|
||||||
label(text : trans("SAY_SOMETHING_HERE") + ": ", constraints : BorderLayout.WEST)
|
label(text : trans("SAY_SOMETHING_HERE") + ": ", constraints : BorderLayout.WEST)
|
||||||
sayField = textField(enabled : bind {parentModel.sayActionEnabled}, actionPerformed : {controller.say()}, constraints : BorderLayout.CENTER)
|
sayField = textField(enabled : bind {parentModel.sayActionEnabled}, actionPerformed : {controller.say()}, constraints : BorderLayout.CENTER)
|
||||||
button(enabled : bind {parentModel.sayActionEnabled}, text : trans("SAY"), constraints : BorderLayout.EAST, sayAction)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue