master
yutent 2023-08-29 11:59:24 +08:00
parent 712d321bf3
commit afa39b5026
1 changed files with 2 additions and 2 deletions

View File

@ -37,14 +37,14 @@ class SonistWindow(Gtk.Window):
self.css_provider = None
self.set_default_style()
self.set_decorated(False)
self.set_position(Gtk.WindowPosition.CENTER)
self.set_decorated(False) # 隐藏系统标题栏
self.set_name('SonistWindow')
self.set_title('Sonist')
self.set_default_size(320, 384)
self.set_resizable(False)
self.set_wmclass('Sonist', 'Sonist')
self.set_opacity(0.9)
self.set_background_image(image_dict['disk'])