~haggai-eran/unity-2d/rtl-rebased

« back to all changes in this revision

Viewing changes to places/LensBar.qml

  • Committer: Tarmac
  • Author(s): Gerry Boland
  • Date: 2011-12-15 11:27:51 UTC
  • mfrom: (825.1.4 unity-core5-break)
  • Revision ID: tarmac-20111215112751-s5944550i5nc9cvl
[core] Update compatibility with UnityCore5 API. 

Changes
- *SearchFinished signals passing Lens::Hints
- Lens active property changed to a ViewType enum of HIDDEN, HOME_VIEW, LENS_VIEW. Update Dash to use these.. Fixes: . Appoved by Lohith D Shivamurthy, Mikkel Kamstrup Erlandsen.

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
 
120
120
                /* Heuristic: if iconHint does not contain a '/' then it is an icon name */
121
121
                icon: item.iconHint.indexOf("/") == -1 ? "image://icons/" + item.iconHint : item.iconHint
122
 
                active: item.active
 
122
                active: item.viewType == Lens.LensView
123
123
                onClicked: dash.activateLens(item.id)
124
124
                iconWidth: lensBar.iconWidth
125
125
                iconSpacing: lensBar.iconSpacing