Integrate icons in addons

This commit is contained in:
Grégory Soutadé 2015-01-29 21:19:29 +01:00
parent 6a86ab989c
commit 423799bfd7
5 changed files with 12 additions and 4 deletions

View File

@ -7,7 +7,7 @@ chrome.runtime.onMessage.addListener(
type: "basic",
title : "gPass",
message : request.options.message,
iconUrl:chrome.extension.getURL("gpass_icon.png")
iconUrl:chrome.extension.getURL("gpass_icon_64.png")
};
chrome.notifications.create("gPass", options, function(){});

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -4,6 +4,9 @@
"name": "gpass",
"version": "0.6",
"description": "gPass : global password manager",
"icons" : {"16":"gpass_icon_16.png", "32":"gpass_icon_32.png", "64":"gpass_icon_64.png", "128":"gpass_icon_128.png"},
"author" : "Grégory Soutadé",
"homepage_url" : "http://indefero.soutade.fr/p/gpass",
"content_scripts": [
{

View File

@ -19,11 +19,12 @@
var {Cc, Ci} = require("chrome");
var notifications = require("sdk/notifications");
var self = require("sdk/self");
var prefSet = require("sdk/simple-prefs");
var pkdbf2 = require("pkdbf2").pkdbf2;
var aes = require("jsaes").aes;
var parseURI = require("parseuri").parseURI;
var prefSet = require("sdk/simple-prefs");
var DEBUG = false;
var pkdbf2_level = getPref("pkdbf2_level");
var protocol_version = 3;
@ -56,10 +57,12 @@ function debug(s)
function notify(text, data)
{
var icon = self.data.url("gpass_icon_64.png");
notifications.notify({
title: "gPass",
text: text,
data: data,
iconUrl: icon,
});
}

View File

@ -5,7 +5,9 @@
"description": "gPass : global password manager",
"author": "Grégory Soutadé",
"license": "GNU GPL v3",
"version": "0.6",
"homepage" : "http://indefero.soutade.fr/p/gpass",
"icon" : "data/gpass_icon_64.png",
"version": "0.6",
"preferences": [
{
"name": "account_url",