mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 826589 - (Part 1) Pass manifest to activity picker instead of pre-translated title. r=ttaubert a=bb+
This commit is contained in:
parent
aa97e4fa2b
commit
b62c0010b9
@ -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 });
|
||||
});
|
||||
|
||||
|
||||
|
@ -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
|
||||
});
|
||||
|
@ -496,7 +496,6 @@ this.DOMApplicationRegistry = {
|
||||
if (aRunUpdate) {
|
||||
activitiesToRegister.push({ "manifest": aApp.manifestURL,
|
||||
"name": activity,
|
||||
"title": manifest.name,
|
||||
"icon": manifest.iconURLForSize(128),
|
||||
"description": description });
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user