~codygarver/+junk/files-xap-test

Viewing all changes in revision 1500.

  • Committer: RabbitBot
  • Author(s): Jeremy Wootten
  • Date: 2014-05-14 21:32:53 UTC
  • mfrom: (1488.1.10 restore-state)
  • Revision ID: rabbitbot-20140514213253-10m5g7jg9cfga8ym
Implements the saving and restoring of the notebook tabs to fix bug #1232112.
For each tab, the view mode and the root folder are restored.
In the case of Miller view, the view is expanded to its previous state.
The previously active tab is selected.
File selections are not restored.
Undisplayable folders (non-existent or no permission) are not saved.
State is saved in two Preference.settings keys.
An additional key was added allowing tab restoration to be turned off (on by default).

A number of other changes and bug fixes were made to allow the unusually rapid creation of multiple slots and views and avoid associated timing problems. The opportunity was taken to clean up the associated code a little.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: