Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Bug 826589 - (Part 1) Pass manifest to activity picker instead of pre…
Browse files Browse the repository at this point in the history
…-translated title. r=ttaubert a=bb+
  • Loading branch information
leibovic committed Jan 7, 2013
1 parent 15c50e6 commit 64f1cdb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion b2g/components/ActivitiesGlue.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
});


Expand Down
3 changes: 0 additions & 3 deletions dom/activities/src/ActivitiesService.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ ActivitiesDb.prototype = {
* id: String
* manifest: String
* name: String
* title: String
* icon: String
* description: jsval
* }
Expand Down Expand Up @@ -94,7 +93,6 @@ ActivitiesDb.prototype = {
let object = {
manifest: aObject.manifest,
name: aObject.name,
title: aObject.title || "",
icon: aObject.icon || "",
description: aObject.description
};
Expand Down Expand Up @@ -140,7 +138,6 @@ ActivitiesDb.prototype = {

txn.result.options.push({
manifest: result.manifest,
title: result.title,
icon: result.icon,
description: result.description
});
Expand Down
1 change: 0 additions & 1 deletion dom/apps/src/Webapps.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,6 @@ this.DOMApplicationRegistry = {
if (aRunUpdate) {
activitiesToRegister.push({ "manifest": aApp.manifestURL,
"name": activity,
"title": manifest.name,
"icon": manifest.iconURLForSize(128),
"description": description });
}
Expand Down

0 comments on commit 64f1cdb

Please sign in to comment.