设置应用的窗口名和标题
parent
ff2be3b55f
commit
1760fbd212
2
build.sh
2
build.sh
|
@ -4,7 +4,7 @@ if [ -d unpack ]; then
|
|||
sudo rm -rf unpack
|
||||
fi
|
||||
|
||||
version="3.0.1"
|
||||
version="3.0.2"
|
||||
|
||||
mkdir -p unpack/DEBIAN
|
||||
|
||||
|
|
|
@ -11,6 +11,8 @@ class Window(Gtk.Window):
|
|||
Gtk.Window.__init__(self, title = title)
|
||||
self.set_default_size(width, height)
|
||||
self.resize(width, height)
|
||||
self.set_wmclass('Hosts-Switch', 'Hosts-Switch')
|
||||
self.set_title('Hosts-Switch')
|
||||
|
||||
|
||||
def toggle_visible(self, icon):
|
||||
|
|
Loading…
Reference in New Issue