on xenial help sign in
Add entries to the new applications resulted from the split of the phone-app.

Approved by PS Jenkins bot, Bill Filler.

commitdd41cd4c241caa589127d4dccfd14ae39fdf57dd authorGustavo Pichorim Boiko <gustavo.boiko@canonical.com> dateSun 28 Jul 2013, 13:06 (13 years ago) parent984d92608efb11
1 file changed+8−1
Components/ApplicationManagerWrapper.qml+8−1
Components/ApplicationManagerWrapper.qml+8−1
@@ -121,9 +121,16 @@ Item {
121121 desktopFile = "/usr/share/applications/share-app.desktop"
122122 } else if (favoriteApplication == ApplicationManager.BrowserApplication) {
123123 desktopFile = "/usr/share/applications/webbrowser-app.desktop"
124− } else if (favoriteApplication == 4) { // ApplicationManager.PhoneApplication
124+ } else if (favoriteApplication == ApplicationManager.PhoneApplication) {
125125 desktopFile = "/usr/share/applications/phone-app.desktop"
126+ } else if (favoriteApplication == ApplicationManager.DialerApplication) {
127+ desktopFile = "/usr/share/applications/dialer-app.desktop"
128+ } else if (favoriteApplication == ApplicationManager.MessagingApplication) {
129+ desktopFile = "/usr/share/applications/messaging-app.desktop"
130+ } else if (favoriteApplication == ApplicationManager.AddressbookApplication) {
131+ desktopFile = "/usr/share/applications/address-book-app.desktop"
126132 }
133+
127134 applicationManager.focusRequested(desktopFile);
128135 }
129136 }