Implement the scroll to/select row stuff for tree view in Preferences dialog
authorColin Clark <cclark@mcb.net>
Wed, 29 Dec 2010 14:59:53 +0000 (15:59 +0100)
committerLaurent Monin <zas@norz.org>
Thu, 16 Aug 2012 21:27:07 +0000 (23:27 +0200)
commitdea40dd784e784e424993cdf0305241b2a48e815
treed164f3740e7fcd77d7b0f6ce7ce9364b8e65b041
parent7b9fce3728d3fa19f5efefb28e52560feca84ab5
Implement the scroll to/select row stuff for tree view in Preferences dialog

In the Files tab:
- when Add is pressed scroll to the new entry and set focus
  to the file-type field
- when Defaults is selected scroll to column 0, row 0

In the Keyboard tab:
- when Defaults is pressed scroll to column 0, row 0

Patch by Colin Clark, tidy up by Laurent Monin.
src/preferences.c