diff --git a/CHANGELOG.md b/CHANGELOG.md index edff876..d0c64a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## [6.0.0-beta.8] XXXX-XX-XX +## Added +- Flag to disable branch toggle for distro-packaged releases + +## Fixed +- ESC key destroying wait dialogs while thread is pending +- Tooltip signals being processed on main menu +- Leaky variable name in dialog title +- Prevent extraneous signals from propagating when column width is adjusted + ## [6.0.0-beta.7] 2025-09-20 ## Added - Users can save text notes to describe servers diff --git a/dzgui.sh b/dzgui.sh index 33fb0d1..2935f8d 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -o pipefail -version=6.0.0.beta-7 +version=6.0.0.beta-8 #CONSTANTS aid=221100 @@ -585,10 +585,10 @@ fetch_helpers_by_sum(){ [[ -f "$config_file" ]] && source "$config_file" declare -A sums sums=( - ["funcs"]="c27a81577c818b4f4d786ada52ad5042" + ["funcs"]="65134f86b7c9e14173e05d8e3ebea101" ["query_v2.py"]="55d339ba02512ac69de288eb3be41067" ["servers.py"]="7f83d5c1ca54acb12f1bd6657feb2ecf" - ["ui.py"]="8d6e52b3e9032acbb84ba6cf137f455a" + ["ui.py"]="f03879f088ad074f2ce3c92607c30202" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" ["pefile.py"]="21531f2c0d9dfa5f110cf6779f9d22c0" ) diff --git a/helpers/funcs b/helpers/funcs index e8f35ef..dbb6ab2 100755 --- a/helpers/funcs +++ b/helpers/funcs @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -o pipefail -version="6.0.0-beta.7" +version="6.0.0-beta.8" #CONSTANTS aid=221100 diff --git a/helpers/ui.py b/helpers/ui.py index e8c4906..8a39862 100644 --- a/helpers/ui.py +++ b/helpers/ui.py @@ -1872,6 +1872,9 @@ class TreeView(Gtk.TreeView): ) -> bool: if self.is_server_context(self.view) is False: return + if self.subpage is None: + return + coords = widget.convert_widget_to_bin_window_coords(x, y) path = self.get_path_at_pos(coords.bx, coords.by) if path is None: @@ -2573,7 +2576,7 @@ class TreeView(Gtk.TreeView): App.right_panel.filters_vbox.set_active_combo(0) App.grid.right_panel.filters_vbox.set_visible(True) for column in self.get_columns(): - column.connect("notify::width", self._on_col_width_changed) + column.connect("notify::fixed-width", self._on_col_width_changed) App.grid.statusbar.update_server_meta() @@ -3207,8 +3210,11 @@ class GenericDialog(Gtk.MessageDialog): self.outer.set_margin_end(30) def _on_dialog_delete( - self, response_id: Gtk.ResponseType + self, response_id: Gtk.ResponseType, event: Gdk.Event ) -> Literal[True]: + """ + Prevent manual dialog destruction + """ return True def _return_to_main_menu(self, widget: Gtk.Widget) -> None: @@ -3232,7 +3238,7 @@ class LanDialog(Gtk.MessageDialog): buttons=Gtk.ButtonsType.OK_CANCEL, text="Scan LAN servers", secondary_text="Select the query port", - title="{appname}", + title=f"{app_name} - Dialog", modal=True, ) @@ -3758,7 +3764,7 @@ class LeftLabel(Gtk.Label): class Options(Gtk.Box): - def __init__(self): + def __init__(self, self_update=True): super().__init__( orientation=Gtk.Orientation.VERTICAL, margin_start=10, @@ -3835,11 +3841,18 @@ class Options(Gtk.Box): self.branch_combo.append_text("Testing") self.branch_combo.set_active(0) self.branch_combo.connect("changed", self._on_branch_changed) + self.branch_combo.set_sensitive(self_update) - msg = ( - "Stable: only contains stable features. " - "Testing: pre-release beta, contains new features." - ) + if self_update is True: + msg = ( + "Stable: only contains stable features. " + "Testing: pre-release beta, contains new features." + ) + else: + msg = ( + "In-app updates are disabled when installing " + "DZGUI via the system package manager." + ) eb = InfoEventBox(msg) version_rows = [ @@ -4355,7 +4368,7 @@ class Notebook(Gtk.Notebook): self.keys.show_all() self.append_page(self.keys) - self.settings = Options() + self.settings = Options(self_update=True) self.settings.type = RowType.OPTIONS self.settings.show_all() self.append_page(self.settings) diff --git a/images/tutorial/01.png b/images/tutorial/01.png deleted file mode 100644 index a8bb742..0000000 Binary files a/images/tutorial/01.png and /dev/null differ diff --git a/images/tutorial/02.png b/images/tutorial/02.png deleted file mode 100644 index 0aaf795..0000000 Binary files a/images/tutorial/02.png and /dev/null differ diff --git a/images/tutorial/03.png b/images/tutorial/03.png deleted file mode 100644 index 0a852ca..0000000 Binary files a/images/tutorial/03.png and /dev/null differ diff --git a/images/tutorial/04.png b/images/tutorial/04.png deleted file mode 100644 index 3f25729..0000000 Binary files a/images/tutorial/04.png and /dev/null differ diff --git a/images/tutorial/05.png b/images/tutorial/05.png deleted file mode 100644 index 9700a85..0000000 Binary files a/images/tutorial/05.png and /dev/null differ diff --git a/images/tutorial/06.png b/images/tutorial/06.png deleted file mode 100644 index 66bbbe7..0000000 Binary files a/images/tutorial/06.png and /dev/null differ diff --git a/images/tutorial/07.png b/images/tutorial/07.png deleted file mode 100644 index 1210080..0000000 Binary files a/images/tutorial/07.png and /dev/null differ diff --git a/images/tutorial/08.png b/images/tutorial/08.png deleted file mode 100644 index 2318770..0000000 Binary files a/images/tutorial/08.png and /dev/null differ diff --git a/images/tutorial/09.png b/images/tutorial/09.png deleted file mode 100644 index d2a1808..0000000 Binary files a/images/tutorial/09.png and /dev/null differ