~ubuntu-branches/ubuntu/natty/unity-2d/natty-updates

« back to all changes in this revision

Viewing changes to places/HomeShortcuts.qml

  • Committer: Bazaar Package Importer
  • Author(s): Oliver Grawert, Oliver Grawert, Aurélien Gâteau
  • Date: 2011-04-08 16:03:10 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20110408160310-yth7qb9kbgabkqk0
Tags: 3.8.2-0ubuntu1
[ Oliver Grawert ]
* New upstream bugfix release
 - (LP: #632526)  Dash elipsizes file and application names too soon, making them
   unreadable
 - (LP: #669926) [launcher] Web favorites support
 - (LP: #708479) Dash view should use "Prefferred Applications" icons where
   appropriate
 - (LP: #718686) [dash] Group of results sometimes badly positioned
 - (LP: #727483) unity-2d-panel crashed with SIGSEGV in g_return_if_fail_warning()
 - (LP: #731449) [launcher] Dragging a tile at the top of the launcher while
   autoscrolling makes autoscroll wrong afterwards
 - (LP: #736097) [dash] home screen misses icons for applications that are not
   installed
 - (LP: #744999) [launcher] launchers are truncated when too many items to fit
   onscreen
 - (LP: #745077) [spread] clicking launcher with open windows not working correctly
   across workspaces
 - (LP: #745237) [dash] search field default string not translated
 - (LP: #746693) [launcher] .places messages not i18nized
 - (LP: #747836) [dash] Banshee no longer works from the dash home page in 3.8.2
 - (LP: #750753) [dash] showing/hiding places causing graphical corruption
 - (LP: #670608) [dash] Home screen customization should be easy
 - (LP: #683084) Global menu doesn't work well with more than one screen
 - (LP: #714646) [launcher] icons jagged edges during animation
 - (LP: #717744) [panel] inactive menus are clickable
 - (LP: #729002) First four items in Dash begin "Find" "Find" "Find" "Find"
 - (LP: #745758) [spread] super+s should toggle the workspace switcher
 - (LP: #751284) [launcher] Escaping of title broken with webfavorites
 - (LP: #751325) [panel] circle of friends button icon needs to be updated to match
   Unity's
 - (LP: #697816) [launcher] if an urgent window is available then the spread should
   not be activated
 - (LP: #729478) [launcher] Clicking middle mouse button should launch another
   instance of application
 - (LP: #750244) [launcher] Newly installed lenses don’t appear
 - (LP: #752948) Home's "Shortcuts" not i18n/l10n

[ Aurélien Gâteau ]
* Include .mo files in unity-2d package (LP: #751425)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This file is part of unity-2d
 
3
 *
 
4
 * Copyright 2010-2011 Canonical Ltd.
 
5
 *
 
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.
 
9
 *
 
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.
 
14
 *
 
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/>.
 
17
 */
 
18
 
 
19
import Qt 4.7
 
20
import UnityApplications 1.0 /* Necessary for the ImageProvider serving image://icons/theme_name/icon_name */
 
21
 
 
22
Flow {
 
23
    anchors.fill: parent
 
24
    anchors.topMargin: 26
 
25
    anchors.bottomMargin: 35
 
26
    anchors.leftMargin: 32
 
27
    anchors.rightMargin: 32
 
28
    spacing: 61
 
29
 
 
30
    /* FIXME: dummy icons need to be replaced by design's */
 
31
    HomeButton {
 
32
        label: u2d.tr("Media Apps")
 
33
        icon: "artwork/find_media_apps.png"
 
34
        onClicked: activatePlaceEntry("/usr/share/unity/places/applications.place", "Files", 9)
 
35
    }
 
36
 
 
37
    HomeButton {
 
38
        label: u2d.tr("Internet Apps")
 
39
        icon: "artwork/find_internet_apps.png"
 
40
        onClicked: activatePlaceEntry("/usr/share/unity/places/applications.place", "Files", 8)
 
41
    }
 
42
 
 
43
    HomeButton {
 
44
        label: u2d.tr("More Apps")
 
45
        icon: "artwork/find_more_apps.png"
 
46
        onClicked: activatePlaceEntry("/usr/share/unity/places/applications.place", "Files", 0)
 
47
    }
 
48
 
 
49
    HomeButton {
 
50
        label: u2d.tr("Find Files")
 
51
        icon: "artwork/find_files.png"
 
52
        onClicked: activatePlaceEntry("/usr/share/unity/places/files.place", "Files", 0)
 
53
    }
 
54
 
 
55
    /* FIXME: use user's preferred applications instead of hardcoding them */
 
56
    HomeButtonApplication {
 
57
        label: u2d.tr("Browse the Web")
 
58
        key: "/desktop/gnome/applications/browser/exec"
 
59
    }
 
60
 
 
61
    HomeButtonApplication {
 
62
        label: u2d.tr("View Photos")
 
63
        desktopFile: "shotwell.desktop"
 
64
    }
 
65
 
 
66
    HomeButtonApplication {
 
67
        label: u2d.tr("Check Email")
 
68
        key: "/desktop/gnome/url-handlers/mailto/command"
 
69
    }
 
70
 
 
71
    HomeButtonApplication {
 
72
        label: u2d.tr("Listen to Music")
 
73
        key: "/desktop/gnome/applications/media/exec"
 
74
    }
 
75
}
 
76