~ubuntu-branches/ubuntu/precise/unity-2d/precise-security

« back to all changes in this revision

Viewing changes to places/SearchRefineOptionType.qml

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2011-08-11 21:22:18 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20110811212218-vjwi8txoyl6g7upb
Tags: 4.0.0-0ubuntu1
* New upstream release:
  - [launcher] Impossible to keep KDE Apps in Launcher (LP: #741129)
  - [dash] Background should be blurred (LP: #823326)
  - No 'safely remove' option is present in the unity menu when a usb disk
    is inserted (LP: #660010)
  - Quicklist item "Keep In Launcher" should be "Keep in launcher" as design
    (LP: #795422)
  - [launcher] ESC doesn't dismiss launcher when activated with Alt+F1
    (LP: #812792)
  - [dash] Background wallpaper shifted when using a non compositing window
    manager (LP: #823295)
  - [launcher] Bottom gradient appears too early (LP: #823877)
  - mute/unmute sound when user clicks on sound applet using scroll button
    or middle mouse button (LP: #609860)
  - Secondary activate (i.e. middle click) support for indicators advanced
    usage (LP: #812933)
  - Unused GConfItemQmlWrapper dep found (LP: #821880)
* debian/control:
  - bump libunity-core-4.0-dev, libnux-1.0-dev
  - recommends lenses and not places anymore. Adding music lens

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
            text: searchRefineOption.title
44
44
            font.pixelSize: 16
45
45
            font.bold: true
46
 
            font.underline: parent.state == "selected"
 
46
            font.underline: ( parent.state == "selected" || parent.state == "hovered" )
47
47
        }
48
48
    }
49
49
 
53
53
        property int columns: 2
54
54
        property int rowsPerColumn: Math.ceil(count/columns)
55
55
 
56
 
        cellHeight: 35
57
 
        cellWidth: width/columns
 
56
        cellHeight: 42 //30px for button + 12px for vertical padding
 
57
        cellWidth: width/columns //145px for button + 10px for horizonal padding
58
58
 
59
59
        anchors.top: header.bottom
60
60
        anchors.topMargin: 15
71
71
        KeyNavigation.up: header
72
72
 
73
73
        delegate: TickBox {
74
 
            height: filters.cellHeight
75
 
            width: filters.cellWidth-5
76
 
            /* Not checking for placeEntryModel != undefined leads to a segfault
77
 
               when switching places */
78
 
            text: placeEntryModel != undefined ? column_0 : ""
 
74
            height: filters.cellHeight-13 //29 = filters.cellHeight - vertical padding (10) - fix (3)
 
75
            width: filters.cellWidth-13 //144 = filters.cellWidth - horizontal padding (12) - fix (1)
 
76
            /* Not checking for lens != undefined leads to a segfault
 
77
               when switching lenses */
 
78
            text: lens != undefined ? column_0 : ""
79
79
            checked: dash.currentPage.model.activeSection == model.index
80
80
 
81
 
            onClicked: placeEntryModel.activeSection = model.index
 
81
            onClicked: lens.activeSection = model.index
82
82
        }
83
83
 
84
 
        model: placeEntryModel != undefined ? placeEntryModel.sections : undefined
 
84
        model: lens != undefined ? lens.sections : undefined
85
85
    }
86
86
}