arcs

Amateur Radio Chat Server with a modern interface
git clone git://squid-tech.com/arcs.git
Log | Files | Refs | README

commit c0ed9c9259366bc8228717691aaffe8f7e45f081
parent 13870510c7221be836f06b168e80b6a28d939030
Author: joshiemoore <jxm5210@g.rit.edu>
Date:   Fri, 20 Dec 2019 03:22:33 -0500

Disable message-input GUI for the server

Diffstat:
Marcs.py | 15++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/arcs.py b/arcs.py @@ -377,15 +377,16 @@ def main(): display.config(yscrollcommand = scrollbar.set) - bottomframe = tkinter.Frame(top) - bottomframe.pack(side = tkinter.BOTTOM, fill = 'x') + if not _SERVER: + bottomframe = tkinter.Frame(top) + bottomframe.pack(side = tkinter.BOTTOM, fill = 'x') - entryText = tkinter.StringVar() - entry = tkinter.Entry(bottomframe, textvariable = entryText) - entry.pack(expand = True, side = tkinter.LEFT, fill = 'x') + entryText = tkinter.StringVar() + entry = tkinter.Entry(bottomframe, textvariable = entryText) + entry.pack(expand = True, side = tkinter.LEFT, fill = 'x') - send = tkinter.Button(bottomframe, text="Send", command = lambda: chatGuiSend(ser, entryText)) - send.pack(side = tkinter.RIGHT) + send = tkinter.Button(bottomframe, text="Send", command = lambda: chatGuiSend(ser, entryText)) + send.pack(side = tkinter.RIGHT)