2
* This file is part of unity-2d
4
* Copyright 2010-2011 Canonical Ltd.
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; version 3.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
25
anchors.bottomMargin: 35
26
anchors.leftMargin: 46
27
anchors.rightMargin: 32
32
// FIXME Need this invisible Rectangle so that alignment in RTL is not broken and tests pass.
33
// Gerry says the Home lens is going away so we do not care about a better fix
34
// Don't ask me why the transparent Rectangle fixes the alignment though
47
label: u2d.tr("Media Apps")
48
icon: "artwork/find_media_apps.png"
49
onClicked: activateLensWithOptionFilter("applications.lens", "type", "media")
53
label: u2d.tr("Internet Apps")
54
icon: "artwork/find_internet_apps.png"
55
onClicked: activateLensWithOptionFilter("applications.lens", "type", "internet")
59
label: u2d.tr("More Apps")
60
icon: "artwork/find_more_apps.png"
61
onClicked: activateLensAndClearFilter("applications.lens", "type")
65
label: u2d.tr("Find Files")
66
icon: "artwork/find_files.png"
67
onClicked: activateLens("files.lens")
70
/* FIXME: use user's preferred applications instead of hardcoding them */
71
HomeButtonDefaultApplication {
72
label: u2d.tr("Browse the Web")
73
contentType: "x-scheme-handler/http"
76
HomeButtonDefaultApplication {
77
label: u2d.tr("View Photos")
78
contentType: "image/jpeg"
79
desktopFile: "shotwell-viewer.desktop"
82
HomeButtonDefaultApplication {
83
label: u2d.tr("Check Email")
84
contentType: "x-scheme-handler/mailto"
87
HomeButtonDefaultApplication {
88
label: u2d.tr("Listen to Music")
89
contentType: "audio/x-vorbis+ogg"
95
columns: buttons.columns