changes for initial gui setup and discovery of the terminal program to use, avoid using TERM env variable

This commit is contained in:
Blake Harnden 2020-03-04 13:30:01 -08:00
parent fd2a5ec290
commit 34895c1f9c
3 changed files with 30 additions and 34 deletions

View file

@ -56,11 +56,9 @@ class PreferencesDialog(Dialog):
label = ttk.Label(frame, text="Terminal")
label.grid(row=2, column=0, pady=PADY, padx=PADX, sticky="w")
terminals = sorted(appconfig.TERMINALS.values())
combobox = ttk.Combobox(
frame,
textvariable=self.terminal,
values=appconfig.TERMINALS,
state="readonly",
frame, textvariable=self.terminal, values=terminals, state="readonly"
)
combobox.grid(row=2, column=1, sticky="ew")