Always display configure button for runners

This commit is contained in:
Mathieu Comandon 2021-08-02 18:04:17 -07:00
parent 69d88a6c80
commit 89fe7e0a42

View file

@ -56,13 +56,10 @@ class RunnerBox(Gtk.Box):
self.configure_button = Gtk.Button.new_from_icon_name("preferences-system-symbolic", Gtk.IconSize.BUTTON)
self.configure_button.set_margin_right(12)
self.configure_button.connect("clicked", self.on_configure_clicked)
self.configure_button.show()
self.pack_start(self.configure_button, False, False, 0)
if not self.runner.is_installed():
self.runner_label_box.set_sensitive(False)
self.configure_button.hide()
else:
self.configure_button.show()
self.action_alignment = Gtk.Alignment.new(0.5, 0.5, 0, 0)
self.action_alignment.show()
self.action_alignment.add(self.get_action_button())