~ci-train-bot/unity8/unity8-ubuntu-zesty-2167

« back to all changes in this revision

Viewing changes to Applications/applications.js

  • Committer: Michał Sawicz
  • Date: 2013-06-05 22:03:08 UTC
  • Revision ID: michal.sawicz@canonical.com-20130605220308-yny8fv3futtr04fg
Inital unity8 commit.

Previous history can be found at https://code.launchpad.net/~unity-team/unity/phablet

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2013 Canonical, Ltd.
 
3
 *
 
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.
 
7
 *
 
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.
 
12
 *
 
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/>.
 
15
 */
 
16
 
 
17
// mimic qtubuntu's Application.Stage enum
 
18
var MainStage = 0;
 
19
var SideStage = 1;
 
20
 
 
21
var __availableApplications = {
 
22
    '/usr/share/applications/phone-app.desktop': {
 
23
        'name': 'Phone',
 
24
        'icon': 'phone-app',
 
25
        'exec': '/usr/bin/phone-app',
 
26
        'stage': SideStage
 
27
    },
 
28
    '/usr/share/applications/camera-app.desktop': {
 
29
        'name': 'Camera',
 
30
        'icon': 'camera',
 
31
        'fullscreen': true,
 
32
        'exec': '/usr/bin/camera-app --fullscreen'
 
33
    },
 
34
    '/usr/share/applications/gallery-app.desktop': {
 
35
        'name': 'Gallery',
 
36
        'icon': 'gallery',
 
37
        'exec': '/usr/bin/gallery-app'
 
38
    },
 
39
    '/usr/share/applications/facebook-webapp.desktop': {
 
40
        'name': 'Facebook',
 
41
        'icon': 'facebook',
 
42
        'exec': '/usr/bin/webbrowser-app --chromeless http://m.facebook.com',
 
43
        'stage': SideStage
 
44
    },
 
45
    '/usr/share/applications/webbrowser-app.desktop': {
 
46
        'name': 'Browser',
 
47
        'icon': 'browser',
 
48
        'exec': '/usr/bin/webbrowser-app'
 
49
    },
 
50
    '/usr/share/applications/twitter-webapp.desktop': {
 
51
        'name': 'Twitter',
 
52
        'icon': 'twitter',
 
53
        'exec': '/usr/bin/webbrowser-app --chromeless http://www.twitter.com',
 
54
        'stage': SideStage
 
55
    },
 
56
    '/usr/share/applications/gmail-webapp.desktop': {
 
57
        'name': 'GMail',
 
58
        'icon': 'gmail',
 
59
        'exec': '/usr/bin/webbrowser-app --chromeless http://m.gmail.com'
 
60
    },
 
61
    '/usr/share/applications/ubuntu-weather-app.desktop': {
 
62
        'name': 'Weather',
 
63
        'icon': 'weather',
 
64
        'exec': '/usr/bin/qmlscene /usr/share/ubuntu-weather-app/ubuntu-weather-app.qml',
 
65
        'stage': SideStage
 
66
    },
 
67
    '/usr/share/applications/notes-app.desktop': {
 
68
        'name': 'Notepad',
 
69
        'icon': 'notepad',
 
70
        'exec': '/usr/bin/qmlscene /usr/share/notes-app/NotesApp.qml',
 
71
        'stage': SideStage
 
72
    },
 
73
    '/usr/share/applications/ubuntu-calendar-app.desktop': {
 
74
        'name': 'Calendar',
 
75
        'icon': 'calendar',
 
76
        'exec': '/usr/bin/qmlscene /usr/share/ubuntu-calendar-app/calendar.qml',
 
77
        'stage': SideStage
 
78
    },
 
79
    '/usr/share/applications/mediaplayer-app.desktop': {
 
80
        'name': 'Media Player',
 
81
        'icon': 'mediaplayer-app',
 
82
        'fullscreen': true,
 
83
        'exec': '/usr/bin/mediaplayer-app'
 
84
    },
 
85
    '/usr/share/applications/evernote.desktop': {
 
86
        'name': 'Evernote',
 
87
        'icon': 'evernote',
 
88
        'exec': ''
 
89
    },
 
90
    '/usr/share/applications/map.desktop': {
 
91
        'name': 'Map',
 
92
        'icon': 'map',
 
93
        'exec': ''
 
94
    },
 
95
    '/usr/share/applications/pinterest.desktop': {
 
96
        'name': 'Pinterest',
 
97
        'icon': 'pinterest',
 
98
        'exec': ''
 
99
    },
 
100
    '/usr/share/applications/soundcloud.desktop': {
 
101
        'name': 'SoundCloud',
 
102
        'icon': 'soundcloud',
 
103
        'exec': ''
 
104
    },
 
105
    '/usr/share/applications/wikipedia.desktop': {
 
106
        'name': 'Wikipedia',
 
107
        'icon': 'wikipedia',
 
108
        'exec': ''
 
109
    },
 
110
    '/usr/share/applications/youtube.desktop': {
 
111
        'name': 'YouTube',
 
112
        'icon': 'youtube',
 
113
        'exec': ''
 
114
    },
 
115
}