Merge lp:~sergiusens/unity/replace_mocks into lp:unity/phablet

Proposed by Sergio Schvezov
Status: Merged
Approved by: Michał Sawicz
Approved revision: no longer in the source branch.
Merged at revision: 687
Proposed branch: lp:~sergiusens/unity/replace_mocks
Merge into: lp:unity/phablet
Diff against target: 105 lines (+29/-18)
4 files modified
Applications/applications.js (+10/-8)
Launcher/Launcher.qml (+2/-2)
debian/changelog (+7/-0)
tests/mocks/Ubuntu/Application/ApplicationManager.cpp (+10/-8)
To merge this branch: bzr merge lp:~sergiusens/unity/replace_mocks
Reviewer Review Type Date Requested Status
Michał Sawicz Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+165252@code.launchpad.net

Commit message

Replacing the music and ski safari mock apps with calendar and weather in
the launcher.

Description of the change

I replaced the music and ski safari mock apps with the weather and calendar apps.

I did not delete the icons in graphics/applicationIcons though for the replaced apps as I see others not used in the launcher are still there too.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Michał Sawicz (saviq) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Applications/applications.js'
2--- Applications/applications.js 2013-05-21 11:49:22 +0000
3+++ Applications/applications.js 2013-05-22 21:28:25 +0000
4@@ -58,10 +58,11 @@
5 'icon': 'gmail',
6 'exec': '/usr/bin/webbrowser-app --chromeless http://m.gmail.com'
7 },
8- '/usr/share/applications/music-player-mockapp.desktop': {
9- 'name': 'Music',
10- 'icon': 'music',
11- 'exec': '/usr/bin/qmlscene /usr/share/demo-mock-apps/music.qml'
12+ '/usr/share/applications/ubuntu-weather-app.desktop': {
13+ 'name': 'Weather',
14+ 'icon': 'weather',
15+ 'exec': '/usr/bin/qmlscene /usr/share/ubuntu-weather-app/ubuntu-weather-app.qml',
16+ 'stage': SideStage
17 },
18 '/usr/share/applications/notes-app.desktop': {
19 'name': 'Notepad',
20@@ -69,10 +70,11 @@
21 'exec': '/usr/bin/qmlscene /usr/share/notes-app/NotesApp.qml',
22 'stage': SideStage
23 },
24- '/usr/share/applications/ski-safari-mockapp.desktop': {
25- 'name': 'Ski Safari',
26- 'icon': 'ski_safari',
27- 'exec': '/usr/bin/qmlscene /usr/share/demo-mock-apps/ski-safari.qml'
28+ '/usr/share/applications/ubuntu-calendar-app.desktop': {
29+ 'name': 'Calendar',
30+ 'icon': 'calendar',
31+ 'exec': '/usr/bin/qmlscene /usr/share/ubuntu-calendar-app/calendar.qml',
32+ 'stage': SideStage
33 },
34 '/usr/share/applications/mediaplayer-app.desktop': {
35 'name': 'Media Player',
36
37=== modified file 'Launcher/Launcher.qml'
38--- Launcher/Launcher.qml 2013-05-21 11:49:22 +0000
39+++ Launcher/Launcher.qml 2013-05-22 21:28:25 +0000
40@@ -29,9 +29,9 @@
41 "/usr/share/applications/webbrowser-app.desktop",
42 "/usr/share/applications/twitter-webapp.desktop",
43 "/usr/share/applications/gmail-webapp.desktop",
44- "/usr/share/applications/music-player-mockapp.desktop",
45+ "/usr/share/applications/ubuntu-weather-app.desktop",
46 "/usr/share/applications/notes-app.desktop",
47- "/usr/share/applications/ski-safari-mockapp.desktop"]
48+ "/usr/share/applications/ubuntu-calendar-app.desktop"]
49 property ListModel model: ListModel {}
50 property ListModel applicationsRunning: ListModel {}
51 property ListModel gadgetsRunning: ListModel {}
52
53=== modified file 'debian/changelog'
54--- debian/changelog 2013-05-22 03:22:19 +0000
55+++ debian/changelog 2013-05-22 21:28:25 +0000
56@@ -1,3 +1,10 @@
57+qml-phone-shell (1.78) UNRELEASED; urgency=low
58+
59+ * Replacing the music and ski safari mock apps with calendar and weather in
60+ the launcher (LP: #1178262).
61+
62+ -- Sergio Schvezov <sergio.schvezov@canonical.com> Wed, 22 May 2013 17:34:27 -0300
63+
64 qml-phone-shell (1.77) raring; urgency=low
65
66 [ Mathieu Trudel-Lapierre ]
67
68=== added file 'graphics/applicationIcons/calendar@18.png'
69Binary files graphics/applicationIcons/calendar@18.png 1970-01-01 00:00:00 +0000 and graphics/applicationIcons/calendar@18.png 2013-05-22 21:28:25 +0000 differ
70=== added file 'graphics/applicationIcons/weather@18.png'
71Binary files graphics/applicationIcons/weather@18.png 1970-01-01 00:00:00 +0000 and graphics/applicationIcons/weather@18.png 2013-05-22 21:28:25 +0000 differ
72=== modified file 'tests/mocks/Ubuntu/Application/ApplicationManager.cpp'
73--- tests/mocks/Ubuntu/Application/ApplicationManager.cpp 2013-05-21 11:49:22 +0000
74+++ tests/mocks/Ubuntu/Application/ApplicationManager.cpp 2013-05-22 21:28:25 +0000
75@@ -302,10 +302,11 @@
76 m_availableApplications.append(application);
77
78 application = new ApplicationInfo(this);
79- application->setDesktopFile("/usr/share/applications/music-player-mockapp.desktop");
80- application->setName("Music");
81- application->setIcon("music");
82- application->setExec("/usr/bin/qmlscene /usr/share/demo-mock-apps/music.qml");
83+ application->setDesktopFile("/usr/share/applications/ubuntu-weather-app.desktop");
84+ application->setName("Weather");
85+ application->setIcon("weather");
86+ application->setExec("/usr/bin/qmlscene /usr/share/ubuntu-weather-app/ubuntu-weather-app.qml");
87+ application->setStage(ApplicationInfo::SideStage);
88 application->setHandle(nextHandle++);
89 generateQmlStrings(application);
90 m_availableApplications.append(application);
91@@ -320,10 +321,11 @@
92 m_availableApplications.append(application);
93
94 application = new ApplicationInfo(this);
95- application->setDesktopFile("/usr/share/applications/ski-safari-mockapp.desktop");
96- application->setName("Ski Safari");
97- application->setIcon("ski_safari");
98- application->setExec("/usr/bin/qmlscene /usr/share/demo-mock-apps/ski-safari.qml");
99+ application->setDesktopFile("/usr/share/applications/ubuntu-calendar-app.desktop");
100+ application->setName("Calendar");
101+ application->setIcon("calendar");
102+ application->setExec("/usr/bin/qmlscene /usr/share/ubuntu-calendar-app/calendar.qml");
103+ application->setStage(ApplicationInfo::SideStage);
104 application->setHandle(nextHandle++);
105 m_availableApplications.append(application);
106

Subscribers

People subscribed via source and target branches