changes for initial gui setup and discovery of the terminal program to use, avoid using TERM env variable
This commit is contained in:
parent
fd2a5ec290
commit
34895c1f9c
3 changed files with 30 additions and 34 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue