~unity-2d-team/unity-2d/unity-2d-shell

Viewing all changes in revision 998.

  • Committer: Albert Astals
  • Author(s): Florian Boucault
  • Date: 2012-02-09 11:22:43 UTC
  • mfrom: (991.2.8 dash_active_cleanups)
  • Revision ID: albert.astals@canonical.com-20120209112243-5youn93xg7oca3ka
Simplified implementation of:
- ShellDeclarativeView::toggleDash()
- ShellDeclarativeView::setDashActive()

Details:
- Removed ShellDeclarativeView::isSpreadActive().
- Moved forceActivateWindow() from ShellDeclarativeView::setDashActive() to Dash.qml
- Fixed ShellDeclarativeView::toggleDash: no need to setFocus() as forceActivateWindow() will be called upon setting dash.active to true.

Added comments to ShellDeclarativeView::onAltF1Pressed().

ShellDeclarativeView::dashActive property is now only used as storage for the boolean. All behavior is done in Dash.qml's active property.

Approved by Albert Astals Cid

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: