I fixed the behavior for ESC and fixed the duplicated accelerator
labels.

I did not remove the accelerator labels yet because:
- every other dialog that uses a stock "gtk-close" button has a accelerator
- if continue has no accelerator there is no way to quickly trigger it (with a 
single keystroke). the user would have to use tab->enter
- if we make the default focus of the dialog continue (so that it is triggered 
on ENTER) instead of "close" that contradicts the intention of the dialog (that 
the user should explicitely say that he want to continue)
- if we focus "close" but trigger a "continue" on ENTER than that would behave 
differently from every other dialog in gnome

I attach a small test-code snippest do demonstrate the ENTER default
behavior.

(I do not disagree with the change itself, but I think if we want it, we
should make it consistent).

-- 
update-manager battery warning has two buttons with the same accelerator
https://bugs.launchpad.net/bugs/425817
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to