设置窗口标题

master
yutent 2023-08-24 21:47:40 +08:00
parent a801010a5e
commit 334fe09ffc
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ class SonistWindow(Gtk.Window):
self.mpd.connect('playing', lambda o, stat, song: self.update_playtime(stat)) self.mpd.connect('playing', lambda o, stat, song: self.update_playtime(stat))
self.set_name('SonistWindow') self.set_name('SonistWindow')
self.set_title('Sonist')
self.set_default_size(320, 384) self.set_default_size(320, 384)
self.set_resizable(False) self.set_resizable(False)
self.set_wmclass('Sonist', 'Sonist') self.set_wmclass('Sonist', 'Sonist')