#19 Find Wrap dialog: Swapped buttons to set "Wrap" as default

open
nobody
interface (8)
5
2012-05-01
2012-05-01
Matthias Ihmig
No

This is a very small patch to swap the buttons "Find" and "Cancel" in the Find dialog question "Wrap search and find again".

The current default action is to cancel, but for my usage pattern, I use "wrap" find a lot,
so I changed the button order to have "Find" as default (instead of "Cancel").

(I know, I could also enable "always wrap", but I'd prefer a dialog on that.)

If you think, this is a preferred setting by someone else, too, maybe this behaviour could be set using a hidden preference.

Discussion

  • Lex Trotman
    Lex Trotman
    2012-06-21

    Simply swapping the buttons puts them in non-standard positions. Instead proper default setting should be implemented.

     
  • Matthias Ihmig
    Matthias Ihmig
    2012-06-21

    Sorry, I'm not familiar with the design guide, but I see the point.
    Setting a different default would either an additional parameter, or a different function for dialogs_show_question_full and show_prompt to force a default. Maybe last one?