~ubuntu-branches/ubuntu/vivid/gpodder/vivid

« back to all changes in this revision

Viewing changes to share/gpodder/ui/qml/PlaybackBarProgress.qml

  • Committer: Package Import Robot
  • Author(s): tony mancill
  • Date: 2013-04-12 22:07:02 UTC
  • mfrom: (5.2.27 sid)
  • Revision ID: package-import@ubuntu.com-20130412220702-mux8v9r8zt2jin0x
Tags: 3.5.1-1
* New upstream release.
* d/control: declare versioned dependency on python-gtk2 (>= 2.16)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
import QtQuick 1.1
3
 
import com.nokia.meego 1.0
 
3
 
 
4
import org.gpodder.qmlui 1.0
4
5
 
5
6
import 'config.js' as Config
6
7
import 'util.js' as Util
113
114
    MouseArea {
114
115
        id: mouseArea
115
116
 
 
117
        /**
 
118
         * Fix to prevent page switch gesture on Sailfish Silica, see
 
119
         * https://lists.sailfishos.org/pipermail/devel/2013-March/000022.html
 
120
         **/
 
121
        drag {
 
122
            axis: Drag.XAxis
 
123
            target: Item {}
 
124
        }
 
125
 
116
126
        anchors.fill: parent
117
127
        onClicked: {
118
128
            root.setProgress(mouse.x / root.width)