~ubuntu-branches/ubuntu/wily/unity-2d/wily

« back to all changes in this revision

Viewing changes to places/dash.qml

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-08-25 18:16:57 UTC
  • mfrom: (1.1.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20110825181657-opb29rqsxae3i98f
Tags: 4.2.0-0ubuntu1
* New upstream release:
  - [panel] application menus do not appear on first hover after dismissal
    (lp: #825262)
  - [dash] Lens icons badly scaled (lp: #825368)
  - [panel] indicators are shifted offscreen to the right (lp: #827673)
  - [panel] scrubbing from system indicators to menubar should be possible
    (lp: #706903)
  - [launcher] Closed applications don't get their launcher counts cleared
    (lp: #767367)
  - [dash] selected item should not be underlined but use the same 
    treatment as unity (lp: #817456)
  - [dash] categories should be collapsed by default (lp: #827214)
  - [dash] Ratings filter (lp: #831855)
  - [dash] Multirange filter (lp: #831856)
  - [dash] ToggleButton filter (lp: #831857)
  - [dash] Icon size must be bigger to match the mockups (lp: #831858)
  - [dash] "Refine search" right margin should be 15 pixels (lp: #832058)
  - [dash] "Refine search" should be "Filter results" (lp: #832060)
  - [dash] Font sizes should match new design (lp: #832114)
  - [panel] Glitch: application menu appearing when pressing the BFB 
    (lp: #825060)
  - [panel] Glitch: application menus are quickly opened after a drag gesture
    (lp: #825267)
  - [dash] File thumbnails aspect ratio is not respected (lp: #832204)
* debian/control: require current the current versions of nux and unity

Show diffs side-by-side

added added

removed removed

Lines of Context:
191
191
            /* FIXME: check on visible necessary; fixed in Qt Quick 1.1
192
192
                      ref: http://bugreports.qt.nokia.com/browse/QTBUG-15862
193
193
            */
194
 
            KeyNavigation.right: refine_search.visible ? refine_search : search_entry
 
194
            KeyNavigation.right: filterPane.visible ? filterPane : search_entry
195
195
            KeyNavigation.down: pageLoader
196
196
 
197
197
            anchors.top: parent.top
198
198
            anchors.topMargin: 10
199
199
            anchors.left: parent.left
200
200
            anchors.leftMargin: 16
201
 
            anchors.right: refine_search.left
 
201
            anchors.right: filterPane.left
202
202
            anchors.rightMargin: 10
203
203
 
204
204
            height: 53
205
205
        }
206
206
 
207
 
        SearchRefine {
208
 
            id: refine_search
 
207
        FilterPane {
 
208
            id: filterPane
209
209
 
210
210
            KeyNavigation.left: search_entry
211
211
 
212
 
            /* SearchRefine is only to be displayed for lenses, not in the home page */
213
 
            /* FIXME: deactivated for now as the Qt bindings for the filters
214
 
                      backend are not ready. Code should be:
215
 
 
216
 
                      visible: dashView.activeLens != ""
217
 
            */
218
 
            visible: false
 
212
            /* FilterPane is only to be displayed for lenses, not in the home page */
 
213
            visible: dashView.activeLens != ""
219
214
            lens: visible && currentPage != undefined ? currentPage.model : undefined
220
215
 
221
216
            anchors.top: search_entry.anchors.top
222
217
            anchors.topMargin: search_entry.anchors.topMargin
223
 
            height: parent.height
 
218
            anchors.bottom: lensBar.top
224
219
            headerHeight: search_entry.height
225
220
            width: 310
226
221
            anchors.right: parent.right
227
 
            anchors.rightMargin: 3
 
222
            anchors.rightMargin: 15
228
223
        }
229
224
 
230
225
        Loader {
234
229
            /* FIXME: check on visible necessary; fixed in Qt Quick 1.1
235
230
                      ref: http://bugreports.qt.nokia.com/browse/QTBUG-15862
236
231
            */
237
 
            KeyNavigation.right: refine_search.visible && !refine_search.folded ? refine_search : pageLoader
 
232
            KeyNavigation.right: filterPane.visible && !filterPane.folded ? filterPane : pageLoader
238
233
            KeyNavigation.up: search_entry
239
234
            KeyNavigation.down: lensBar
240
235
 
242
237
            anchors.topMargin: 2
243
238
            anchors.bottom: lensBar.top
244
239
            anchors.left: parent.left
245
 
            anchors.right: !refine_search.visible || refine_search.folded ? parent.right : refine_search.left
246
 
            anchors.rightMargin: !refine_search.visible || refine_search.folded ? 0 : 15
 
240
            anchors.right: !filterPane.visible || filterPane.folded ? parent.right : filterPane.left
 
241
            anchors.rightMargin: !filterPane.visible || filterPane.folded ? 0 : 15
247
242
            onLoaded: item.focus = true
248
243
        }
249
244
 
260
255
        }
261
256
    }
262
257
 
263
 
    Button {
 
258
    AbstractButton {
264
259
        id: fullScreenButton
265
260
 
266
261
        Accessible.name: "Full Screen"