chore(linux): reorder buttons on kmp install window

Cancel button goes on the left according to GNOME Human Interface Guidelines.

Test-bot: skip
This commit is contained in:
Peter Durdin 2026-07-08 10:28:21 +02:00
parent 028a741fb1
commit c6db29c454

View file

@ -167,13 +167,14 @@ class InstallKmpWindow(Gtk.Dialog):
def _add_buttons(self):
hbox = Gtk.Box(spacing=6)
button = Gtk.Button.new_with_mnemonic(_("_Install"))
button.connect("clicked", self.on_install_clicked)
hbox.pack_start(button, False, False, 0)
button = Gtk.Button.new_with_mnemonic(_("_Cancel"))
button.connect("clicked", self.on_cancel_clicked)
hbox.pack_start(button, False, False, 0)
button = Gtk.Button.new_with_mnemonic(_("_Install"))
button.connect("clicked", self.on_install_clicked)
hbox.pack_end(button, False, False, 0)
bind_accelerator(self.accelerators, button, '<Control>w')
return hbox