Compare commits

...

4 Commits

Author SHA1 Message Date
aclist
c5eba364d9
Merge pull request #278 from aclist/fix/glib-unix
Some checks failed
Mirror to Codeberg / mirror-to-codeberg (push) Has been cancelled
fix: use GLibUnix namespace
2026-04-10 19:03:06 +09:00
aclist
5460b53c26 fix: version number in changelog 2026-04-10 18:52:04 +09:00
aclist
99301b3312 fix: uncomment functions 2026-04-10 18:50:58 +09:00
aclist
8d30af9dee fix: use GLibUnix namespace 2026-04-10 16:50:31 +09:00
4 changed files with 11 additions and 6 deletions

View File

@ -1,5 +1,9 @@
# Changelog # Changelog
## [6.0.2-beta.4] 2026-04-10
## Fixed
- Use GLibUnix namespace when setting up SIGINT handling
## [6.0.2-beta.3] 2026-01-26 ## [6.0.2-beta.3] 2026-01-26
## Fixed ## Fixed
- Raise error correctly from module - Raise error correctly from module

View File

@ -2,7 +2,7 @@
set -o pipefail set -o pipefail
src_path="$(readlink -e "$0")" src_path="$(readlink -e "$0")"
version=6.0.2-beta.3 version=6.0.2-beta.4
#CONSTANTS #CONSTANTS
aid=221100 aid=221100
@ -626,10 +626,10 @@ fetch_helpers_by_sum(){
[[ -f "$config_file" ]] && source "$config_file" [[ -f "$config_file" ]] && source "$config_file"
declare -A sums declare -A sums
sums=( sums=(
["funcs"]="9c790def4f70b6d1b0ed604a2b87b0dc" ["funcs"]="a823824ec835a7db836aaff0eccd3a50"
["query_v2.py"]="55d339ba02512ac69de288eb3be41067" ["query_v2.py"]="55d339ba02512ac69de288eb3be41067"
["servers.py"]="ed442c3aecf33f777d59dcf53650d263" ["servers.py"]="ed442c3aecf33f777d59dcf53650d263"
["ui.py"]="d09b9d8bed3854efd51377289786c5ac" ["ui.py"]="d00c37fd006fa8cfb7fd02a8505e67e0"
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
["pefile.py"]="b452974a84bff1d821872fcebf59e380" ["pefile.py"]="b452974a84bff1d821872fcebf59e380"
) )

View File

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

View File

@ -39,7 +39,8 @@ locale.setlocale(locale.LC_ALL, "")
import gi # noqa E402 import gi # noqa E402
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, GLib, Gdk, GObject, Pango # noqa E402 gi.require_version("GLibUnix", "2.0")
from gi.repository import Gtk, GLib, GLibUnix, Gdk, GObject, Pango # noqa E402
# https://bugzilla.gnome.org/show_bug.cgi?id=708676 # https://bugzilla.gnome.org/show_bug.cgi?id=708676
warnings.filterwarnings("ignore", ".*g_value_get_int", Warning) warnings.filterwarnings("ignore", ".*g_value_get_int", Warning)
@ -4651,7 +4652,7 @@ class App(Gtk.Application):
) )
self.win.add_accel_group(accel) self.win.add_accel_group(accel)
GLib.unix_signal_add( GLibUnix.signal_add_full(
GLib.PRIORITY_DEFAULT, signal.SIGINT, self._catch_sigint GLib.PRIORITY_DEFAULT, signal.SIGINT, self._catch_sigint
) )
Gtk.main() Gtk.main()