From fa38bcb9854f745fa5399aea8b6f014b71af1c6e Mon Sep 17 00:00:00 2001 From: yutent Date: Fri, 26 Jan 2024 13:22:54 +0800 Subject: [PATCH] fixed icon --- build.sh | 2 +- usr/lib/hosts-switch/_window.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index a708dda..68492fd 100755 --- a/build.sh +++ b/build.sh @@ -4,7 +4,7 @@ if [ -d unpack ]; then sudo rm -rf unpack fi -version="3.0.4" +version="3.0.5" mkdir -p unpack/DEBIAN diff --git a/usr/lib/hosts-switch/_window.py b/usr/lib/hosts-switch/_window.py index 4fee5b1..e2df448 100644 --- a/usr/lib/hosts-switch/_window.py +++ b/usr/lib/hosts-switch/_window.py @@ -13,6 +13,7 @@ class Window(Gtk.Window): self.resize(width, height) self.set_wmclass('Hosts-Switch', 'Hosts-Switch') self.set_title('Hosts-Switch') + self.set_icon_name('hosts-switch') def toggle_visible(self, icon):