Merge pull request #246 from aclist/prerelease/6.0.0-beta.14

fix: newlines in tooltips
This commit is contained in:
aclist 2025-12-10 13:03:22 +09:00 committed by GitHub
commit aef9a10c42
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 5 deletions

View File

@ -1,5 +1,9 @@
# Changelog
## [6.0.0-beta.14] 2025-12-05
## Fixed
- Tooltips with newlines breaking log table
## [6.0.0-beta.13] 2025-11-29
## Fixed
- Server filter panel not being hidden when entering other page contexts

View File

@ -3,7 +3,7 @@ set -o pipefail
src_path=$(realpath "$0")
version=6.0.0.beta-13
version=6.0.0.beta-14
#CONSTANTS
aid=221100
@ -602,7 +602,7 @@ fetch_helpers_by_sum(){
[[ -f "$config_file" ]] && source "$config_file"
declare -A sums
sums=(
["funcs"]="519a13ecb5c8527ae3cbefb5babe2c62"
["funcs"]="3036da0c8f46452af4822bbeaa1a9454"
["query_v2.py"]="55d339ba02512ac69de288eb3be41067"
["servers.py"]="ed442c3aecf33f777d59dcf53650d263"
["ui.py"]="8edf48e6780460bd8ea7b01614592296"

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -o pipefail
version="6.0.0-beta.13"
version="6.0.0-beta.14"
#CONSTANTS
aid=221100

View File

@ -866,13 +866,14 @@ def spawn_dialog(msg: str, mode: Popup) -> bool:
dialog = GenericDialog(msg, mode)
response = dialog.run()
dialog.destroy()
clean_msg = msg.replace("\n", " ")
match response:
case Gtk.ResponseType.OK:
logger.info(f"User confirmed dialog with message '{msg}'")
logger.info(f"User confirmed dialog with message '{clean_msg}'")
return False
case Gtk.ResponseType.CANCEL | Gtk.ResponseType.DELETE_EVENT:
logger.info(f"User aborted dialog with message '{msg}'")
logger.info(f"User aborted dialog with message '{clean_msg}'")
return True
return False