From 92c46ca873facf06f3921258669350e3d548028f Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" Date: Wed, 24 Apr 2024 11:48:19 +0530 Subject: [PATCH] =?UTF-8?q?=E2=8F=B3=20@eshanized=20updated=20the=20reposi?= =?UTF-8?q?tory!!!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blackbox/Functions.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/blackbox/Functions.py b/blackbox/Functions.py index a21fbd6..a4e4f07 100644 --- a/blackbox/Functions.py +++ b/blackbox/Functions.py @@ -360,7 +360,21 @@ def refresh_ui( switch.set_sensitive(True) switch.set_state(True) switch.set_active(True) - + if progress_dialog is not None: + if progress_dialog.pkg_dialog_closed is False: + progress_dialog.set_title( + "Package installed: %s" % pkg.name + ) + progress_dialog.infobar.set_name( + "infobar_info" + ) + content = progress_dialog.infobar.get_content_area() + if content is not None: + for widget in content.get_children(): + content.remove(widget) + + + def update_progress_textview( self, line,