2
* Copyright (C) 2013 Canonical, Ltd.
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; version 3.
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
// mimic qtubuntu's Application.Stage enum
21
var __availableApplications = {
22
'/usr/share/applications/phone-app.desktop': {
25
'exec': '/usr/bin/phone-app',
28
'/usr/share/applications/camera-app.desktop': {
32
'exec': '/usr/bin/camera-app --fullscreen'
34
'/usr/share/applications/gallery-app.desktop': {
37
'exec': '/usr/bin/gallery-app'
39
'/usr/share/applications/facebook-webapp.desktop': {
42
'exec': '/usr/bin/webbrowser-app --chromeless http://m.facebook.com',
45
'/usr/share/applications/webbrowser-app.desktop': {
48
'exec': '/usr/bin/webbrowser-app'
50
'/usr/share/applications/twitter-webapp.desktop': {
53
'exec': '/usr/bin/webbrowser-app --chromeless http://www.twitter.com',
56
'/usr/share/applications/gmail-webapp.desktop': {
59
'exec': '/usr/bin/webbrowser-app --chromeless http://m.gmail.com'
61
'/usr/share/applications/ubuntu-weather-app.desktop': {
64
'exec': '/usr/bin/qmlscene /usr/share/ubuntu-weather-app/ubuntu-weather-app.qml',
67
'/usr/share/applications/notes-app.desktop': {
70
'exec': '/usr/bin/qmlscene /usr/share/notes-app/NotesApp.qml',
73
'/usr/share/applications/ubuntu-calendar-app.desktop': {
76
'exec': '/usr/bin/qmlscene /usr/share/ubuntu-calendar-app/calendar.qml',
79
'/usr/share/applications/mediaplayer-app.desktop': {
80
'name': 'Media Player',
81
'icon': 'mediaplayer-app',
83
'exec': '/usr/bin/mediaplayer-app'
85
'/usr/share/applications/evernote.desktop': {
90
'/usr/share/applications/map.desktop': {
95
'/usr/share/applications/pinterest.desktop': {
100
'/usr/share/applications/soundcloud.desktop': {
101
'name': 'SoundCloud',
102
'icon': 'soundcloud',
105
'/usr/share/applications/wikipedia.desktop': {
110
'/usr/share/applications/youtube.desktop': {