Skip to content

Commit

Permalink
hide some apps are already installed warn on screen load
Browse files Browse the repository at this point in the history
  • Loading branch information
mijorus committed Jun 18, 2024
1 parent 6e84fd6 commit 74627d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/MultiInstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self) -> None:

self.already_installed_warn = Gtk.Button(
css_classes=['flat'],
visible=True,
visible=False,
sensitive=False,
halign=Gtk.Align.CENTER,
child=Adw.ButtonContent(
Expand Down Expand Up @@ -135,6 +135,7 @@ def on_dialog_response(self, dialog: Adw.MessageDialog, response: str, checkbox:
return

self.install_all_btn.set_sensitive(False)

for el in self.app_list:
if el.installed_status is InstalledStatus.INSTALLED:
continue
Expand Down

0 comments on commit 74627d2

Please sign in to comment.