mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
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:
parent
028a741fb1
commit
c6db29c454
1 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue