Integrate icons in addons
This commit is contained in:
parent
6a86ab989c
commit
423799bfd7
|
@ -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 |
|
@ -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": [
|
||||
{
|
||||
|
|
|
@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
"description": "gPass : global password manager",
|
||||
"author": "Grégory Soutadé",
|
||||
"license": "GNU GPL v3",
|
||||
"homepage" : "http://indefero.soutade.fr/p/gpass",
|
||||
"icon" : "data/gpass_icon_64.png",
|
||||
"version": "0.6",
|
||||
"preferences": [
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user