mirror of
https://github.com/aclist/dztui.git
synced 2026-08-29 19:27:13 +02:00
chore: clarify comments
This commit is contained in:
parent
95a775cd74
commit
479be05452
@ -907,6 +907,9 @@ def process_shell_return_code(
|
|||||||
def call_on_thread(
|
def call_on_thread(
|
||||||
state: bool, subproc: str, msg: str, args: str, choice: RowType = None
|
state: bool, subproc: str, msg: str, args: str, choice: RowType = None
|
||||||
) -> None:
|
) -> None:
|
||||||
|
"""
|
||||||
|
Exclusively used for threaded subprocesses
|
||||||
|
"""
|
||||||
def _background(subproc: str, args: str, dialog):
|
def _background(subproc: str, args: str, dialog):
|
||||||
def _load() -> None:
|
def _load() -> None:
|
||||||
wait_dialog.destroy()
|
wait_dialog.destroy()
|
||||||
@ -4022,8 +4025,8 @@ class Notebook(Gtk.Notebook):
|
|||||||
if hasattr(page, "steam_entry"):
|
if hasattr(page, "steam_entry"):
|
||||||
"""
|
"""
|
||||||
Gtk.Notebook focuses the first input field when changing pages;
|
Gtk.Notebook focuses the first input field when changing pages;
|
||||||
this workaround unhighlights the selected region and makes entry fields
|
this workaround unhighlights the selected region and makes entry
|
||||||
unfocusable prior to the page 'switch-page' signal,
|
fields unfocusable prior to the page 'switch-page' signal,
|
||||||
then makes them focusable again
|
then makes them focusable again
|
||||||
"""
|
"""
|
||||||
entries = page.steam_entry, page.bm_entry
|
entries = page.steam_entry, page.bm_entry
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user