mirror of
https://github.com/aclist/dztui.git
synced 2026-09-01 04:37:04 +02:00
Compare commits
5 Commits
4f3f17450c
...
a5be4d9d31
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a5be4d9d31 | ||
|
|
da5a5999f0 | ||
|
|
f4f3e61b83 | ||
|
|
3d91e07d25 | ||
|
|
cff4a2e1e7 |
4
dzgui.sh
4
dzgui.sh
@ -585,10 +585,10 @@ fetch_helpers_by_sum(){
|
||||
[[ -f "$config_file" ]] && source "$config_file"
|
||||
declare -A sums
|
||||
sums=(
|
||||
["funcs"]="b3a45a42bc748dbcbebcd1a7748609cd"
|
||||
["funcs"]="c2aec0a2fc153a2535e6493b3751ca81"
|
||||
["query_v2.py"]="55d339ba02512ac69de288eb3be41067"
|
||||
["servers.py"]="4c5013aaf694806cfecd4f1c905bdc9a"
|
||||
["ui.py"]="3dfddc8260449d59f4ca71bc4b8d2989"
|
||||
["ui.py"]="294a7daf544a96e2a108d252df5e0676"
|
||||
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
|
||||
)
|
||||
local author="aclist"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
set -o pipefail
|
||||
version="6.0.0-beta.2"
|
||||
version="6.0.0-beta.3"
|
||||
|
||||
#CONSTANTS
|
||||
aid=221100
|
||||
|
||||
@ -3543,9 +3543,10 @@ class Options(Gtk.Box):
|
||||
self, entry: Gtk.Entry, context: Preferences
|
||||
) -> None:
|
||||
text = entry.get_text()
|
||||
button = entry.sibling
|
||||
if not self._is_valid_text(text, context):
|
||||
return
|
||||
self._on_save_clicked(None, entry, context)
|
||||
self._on_save_clicked(button, entry, context)
|
||||
|
||||
def _make_grid(self, rows: list) -> Gtk.Grid:
|
||||
grid = Gtk.Grid(
|
||||
@ -3569,7 +3570,7 @@ class Options(Gtk.Box):
|
||||
return grid
|
||||
|
||||
def _on_save_clicked(
|
||||
self, button: Gtk.Button | None, entry: Gtk.Entry, context: Preferences
|
||||
self, button: Gtk.Button, entry: Gtk.Entry, context: Preferences
|
||||
) -> None:
|
||||
show_wait_dialog = True
|
||||
wait_msg = "Working"
|
||||
@ -3605,7 +3606,7 @@ class Options(Gtk.Box):
|
||||
# prevent triggering on initial init
|
||||
if App.treeview.subpage is None:
|
||||
return
|
||||
# TODO: process_toggle(RowType.TGL_BRANCH)
|
||||
process_toggle(RowType.TGL_BRANCH)
|
||||
|
||||
def _on_radio_toggled(
|
||||
self, button: Gtk.RadioButton, context: Preferences
|
||||
|
||||
Loading…
Reference in New Issue
Block a user