fixup! Port UI to GTK 4
This commit is contained in:
parent
8673d44976
commit
f67da0a4a0
1 changed files with 7 additions and 8 deletions
|
|
@ -136,6 +136,7 @@ class Window(Adw.ApplicationWindow):
|
|||
|
||||
# Signals
|
||||
self.connect("notify::default-width", self.on_resize)
|
||||
self.connect("notify::default-height", self.on_resize)
|
||||
self.connect("notify::maximized", self.on_maximized)
|
||||
self.connect("notify::fullscreened", self.on_fullscreened)
|
||||
self._connection_panel.connect('connection-changed', self.on_connection_panel_connection_changed)
|
||||
|
|
@ -253,6 +254,7 @@ class Window(Adw.ApplicationWindow):
|
|||
if not self._state.get_property(WindowState.IS_MAXIMIZED):
|
||||
self._state.set_property(WindowState.WIDTH, width)
|
||||
self._state.set_property(WindowState.HEIGHT, height)
|
||||
GObject.idle_add(self._library_panel.set_size, width, height)
|
||||
|
||||
|
||||
def on_maximized(self, widget, maximized):
|
||||
|
|
|
|||
Loading…
Reference in a new issue