~ken-vandine/gwibber/autopilot

« back to all changes in this revision

Viewing changes to qml/TimeLine.qml

  • Committer: Ken VanDine
  • Date: 2013-03-16 03:21:15 UTC
  • Revision ID: ken.vandine@canonical.com-20130316032115-6ztsbvlwzp90witz
fixed jump to top on toolbar

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
import Friends 0.1
23
23
 
24
24
Page {
25
 
    property var view: listView.view
26
25
    property string stream: ""
27
26
    property int unseen: 0
28
27
    property string search
34
33
        }
35
34
    }
36
35
 
 
36
    function top () {
 
37
        listView.positionViewAtEnd();
 
38
    }
 
39
 
37
40
    onUnseenChanged: {
38
41
        updatesText.text = unseen == 1 ? (unseen + i18n.tr(" new update")) : (unseen + i18n.tr(" new updates"));
39
42
    }