From 39cb702c43b8b0baf20146aa6460fd9f0d069d57 Mon Sep 17 00:00:00 2001 From: heliguy4599 Date: Wed, 4 Oct 2023 17:33:57 -0400 Subject: [PATCH] Remove old window state save functions --- src/window.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/window.py b/src/window.py index b30ca7c..5690f01 100644 --- a/src/window.py +++ b/src/window.py @@ -510,15 +510,6 @@ class WarehouseWindow(Adw.ApplicationWindow): self.windowSetEmpty(True) self.filter_button.set_sensitive(True) - def loadSettings(self): - width = self.settings.get_int("window-width") - height = self.settings.get_int("window-height") - self.set_default_size(width, height) - - def saveSettings(self, _a): - self.settings.set_int("window-width", self.get_allocated_width()) - self.settings.set_int("window-height", self.get_allocated_height()) - def __init__(self, **kwargs): super().__init__(**kwargs) self.my_utils = myUtils(self) @@ -556,7 +547,5 @@ class WarehouseWindow(Adw.ApplicationWindow): self.filter_button.connect("toggled", self.filterWindowHandler) - self.connect("close-request", self.saveSettings) -