From 97a94ee052615dac9a9785849116c33ef6271a37 Mon Sep 17 00:00:00 2001 From: heliguy Date: Mon, 4 Sep 2023 22:20:37 -0400 Subject: [PATCH] Fix transient-ness of orphans window Orphans window was being set non sensitive which made the main app window able to be interacted with which is not what I want --- src/window.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/window.py b/src/window.py index 8199379..238a2cb 100644 --- a/src/window.py +++ b/src/window.py @@ -282,8 +282,8 @@ class FlattoolGuiWindow(Adw.ApplicationWindow): should_pulse = False self.refresh_list_of_flatpaks(None, False) generate_list(None, False) - nonlocal orphans_window - orphans_window.set_sensitive(True) + nonlocal orphans_toolbar_view + orphans_toolbar_view.set_sensitive(True) orphans_window.disconnect(handler_id) # Make window able to close def thread_func(command): @@ -299,8 +299,8 @@ class FlattoolGuiWindow(Adw.ApplicationWindow): orphans_progress_bar.set_visible(False) return 1 - nonlocal orphans_window - orphans_window.set_sensitive(False) + nonlocal orphans_toolbar_view + orphans_toolbar_view.set_sensitive(False) nonlocal handler_id handler_id = orphans_window.connect('close-request', lambda event: True) # Make window unable to close nonlocal total_to_install