Refactorization of usage mode code (both visible and backstage)

Registered by Severin H

We currently have "if Prefs.lotta["frontend_mode"]" all-over the application. I'm working on a new module "modes" which contains a Singleton class for each usage mode. As much usage mode specific code is bundled in these classes. Each usage mode class has the methods "enter" and "leave". This eventually allows us to switch between usage modes on-the-fly.

Next, I've been redesigning the usage mode selection. Currently we have an assistant which consists of 5 pages two of which are not necessary at all. I merged the whole functionality into one window. gtk.Assistant isn't very flexible anyway.

Preview: http://img247.imageshack.us/img247/510/usagemodeselectiondy5.png

Blueprint information

Status:
Complete
Approver:
None
Priority:
Medium
Drafter:
None
Direction:
Needs approval
Assignee:
Severin H
Definition:
Approved
Series goal:
Accepted for 0.3
Implementation:
Implemented
Milestone target:
milestone icon 0.3
Started by
Severin H
Completed by
Severin H

Sprints

Whiteboard

The major part of the new code is written and I'm currently ironing out the remaining bugs and improving error handling.

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.