Bug 826589 - (Part 1) Pass manifest to activity picker instead of pre-translated title. r=ttaubert a=bb+

This commit is contained in:
Margaret Leibovic 2013-01-07 15:48:56 +01:00
parent aa97e4fa2b
commit b62c0010b9
3 changed files with 1 additions and 5 deletions

View File

@ -24,7 +24,7 @@ ActivitiesDialog.prototype = {
let choices = [];
activity.list.forEach(function(item) {
choices.push({ title: item.title, icon: item.icon });
choices.push({ manifest: item.manifest, icon: item.icon });
});

View File

@ -52,7 +52,6 @@ ActivitiesDb.prototype = {
* id: String
* manifest: String
* name: String
* title: String
* icon: String
* description: jsval
* }
@ -94,7 +93,6 @@ ActivitiesDb.prototype = {
let object = {
manifest: aObject.manifest,
name: aObject.name,
title: aObject.title || "",
icon: aObject.icon || "",
description: aObject.description
};
@ -140,7 +138,6 @@ ActivitiesDb.prototype = {
txn.result.options.push({
manifest: result.manifest,
title: result.title,
icon: result.icon,
description: result.description
});

View File

@ -496,7 +496,6 @@ this.DOMApplicationRegistry = {
if (aRunUpdate) {
activitiesToRegister.push({ "manifest": aApp.manifestURL,
"name": activity,
"title": manifest.name,
"icon": manifest.iconURLForSize(128),
"description": description });
}