mirror of
https://github.com/lutris/lutris
synced 2024-11-02 08:20:51 +00:00
Always display configure button for runners
This commit is contained in:
parent
69d88a6c80
commit
89fe7e0a42
1 changed files with 1 additions and 4 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue