Skip to content

Commit 46012be

Browse files
committed
#55 Notification displays add-on name
1 parent 7f56edd commit 46012be

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/Notification.js

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ var notification = require("sdk/notifications"),
55
exports.sendMsg = function(stringId) {
66

77
notification.notify({
8+
title: "Save Text to File",
89
text: Localisation.getCustomString(stringId),
910
iconURL: Data.get("images/ico.png")
1011
});
@@ -13,6 +14,7 @@ exports.sendMsg = function(stringId) {
1314
exports.sendMsg = function(stringId, path) {
1415

1516
notification.notify({
17+
title: "Save Text to File",
1618
text: Localisation.getCustomString(stringId, path),
1719
iconURL: Data.get("images/ico.png")
1820
});

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "Saves highlighted text to a file in a specified directory",
66
"author": "Robert Byrne",
77
"license": "GNU GPL v3",
8-
"version": "2.2",
8+
"version": "2.2.1",
99
"permissions": {"private-browsing": true},
1010
"preferences": [{
1111
"name": "fileName",

0 commit comments

Comments
 (0)