[Pkg-mozext-commits] [personasplus] 02/09: Fix current persona icon in menu
David Prévot
taffit at moszumanska.debian.org
Fri Mar 25 21:07:57 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository personasplus.
commit a70a34542438283a4b4d0f8ef65ffbd6926410ce
Author: Andreas Wagner <mail at andreaswagner.org>
Date: Wed Mar 23 13:07:01 2016 +0100
Fix current persona icon in menu
---
extension/content/personas.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/extension/content/personas.js b/extension/content/personas.js
index e25bd85..57af8ee 100644
--- a/extension/content/personas.js
+++ b/extension/content/personas.js
@@ -936,7 +936,7 @@ var PersonaController = {
if (PersonaService.selected == "random") {
personaStatus.setAttribute("label", this._strings.get("randomPersona", [PersonaService.category, name]));
- personaStatus.setAttribute("image", PersonaService.currentPersona.dataurl ? PersonaService.currentPersona.dataurl : "chrome://personas/content/personas_16x16.png");
+ personaStatus.setAttribute("image", PersonaService.currentPersona.iconURL ? PersonaService.currentPersona.iconURL : "chrome://personas/content/personas_16x16.png");
}
if (PersonaService.selected == "default") {
@@ -945,7 +945,7 @@ var PersonaController = {
personaStatus.removeAttribute("menuitem-iconic");
} else {
personaStatus.setAttribute("label", name);
- personaStatus.setAttribute("image", PersonaService.currentPersona.dataurl ? PersonaService.currentPersona.dataurl : "chrome://personas/content/personas_16x16.png");
+ personaStatus.setAttribute("image", PersonaService.currentPersona.iconURL ? PersonaService.currentPersona.iconURL : "chrome://personas/content/personas_16x16.png");
}
let personaStatusDetail = document.getElementById("persona-current-view-detail");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/personasplus.git
More information about the Pkg-mozext-commits
mailing list