~ubuntu-branches/ubuntu/trusty/unity8/trusty-proposed

« back to all changes in this revision

Viewing changes to qml/Dash/GenericScopeView.qml

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Nick Dedekind, Albert Astals, Mirco Müller, Andrea Cimitan, CI bot, Michał Karnicki
  • Date: 2014-01-29 16:11:20 UTC
  • mfrom: (1.1.62)
  • Revision ID: package-import@ubuntu.com-20140129161120-12chvzss1dghhsg5
Tags: 7.84+14.04.20140129-0ubuntu1
[ Nick Dedekind ]
* Added Panel/VisibleIndicatorsModel for use with both indicator row &
  menuContent. This removes the need to hide indicators in the row and
  map inicator indexes between row & content. Fixes the indicator
  highlight line offset not bound by listView position.
* Ported indicators to using ubuntu-settings-components

[ Albert Astals ]
* Prepend /sbin/ to initctl calls My phablet user does not have /sbin/
  in path and thus this calls fail
* Call updateDelegateCreationRange when it's needed It depends on
  other variables than the ones we were using to call it, so need to
  call it if these change too Device manual test, go to apps scope,
  scroll down so that only part of the installed apps collapsed
  category is shown, expand it, see how previously some icons were not
  painted and now they are

[ Mirco Müller ]
* Fixed the failure of notification autopilot-test
  test_sd_incoming_call.

[ Andrea Cimitan ]
* Add AP test for policykit/network manager, which was causing issues
  with nested mir

[ CI bot ]
* Resync trunk

[ Michał Karnicki ]
* Don't display artShape when artImage source not set.
* Fix FilterGrid rendering issues.

Show diffs side-by-side

added added

removed removed

Lines of Context:
141
141
            readonly property bool expandable: rendererLoader.item ? rendererLoader.item.expandable : false
142
142
            readonly property bool filtered: rendererLoader.item ? rendererLoader.item.filter : true
143
143
            readonly property string category: categoryId
 
144
            readonly property var item: rendererLoader.item
144
145
 
145
146
            Loader {
146
147
                id: rendererLoader
248
249
                            }
249
250
                        }
250
251
                    }
 
252
                    onOriginYChanged: rendererLoader.updateDelegateCreationRange();
251
253
                    onContentYChanged: rendererLoader.updateDelegateCreationRange();
252
254
                    onHeightChanged: rendererLoader.updateDelegateCreationRange();
 
255
                    onContentHeightChanged: rendererLoader.updateDelegateCreationRange();
253
256
                }
254
257
 
255
258
                function updateDelegateCreationRange() {
261
264
                        return;
262
265
                    }
263
266
 
264
 
                    if (item.hasOwnProperty("delegateCreationBegin")) {
 
267
                    if (item && item.hasOwnProperty("delegateCreationBegin")) {
265
268
                        if (baseItem.y + baseItem.height <= 0) {
266
269
                            // Not visible (item at top of the list)
267
270
                            item.delegateCreationBegin = baseItem.height
277
280
                    }
278
281
                }
279
282
            }
 
283
 
 
284
            onHeightChanged: rendererLoader.updateDelegateCreationRange();
 
285
            onYChanged: rendererLoader.updateDelegateCreationRange();
280
286
        }
281
287
 
282
288
        sectionProperty: "name"