Open
Bug 1943417
Opened 14 days ago
Updated 7 days ago
Implement notification action for libnotify
Categories
(Toolkit :: Alerts Service, enhancement)
Toolkit
Alerts Service
Tracking
()
NEW
People
(Reporter: saschanaz, Assigned: saschanaz)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
No description provided.
Assignee | ||
Comment 1•14 days ago
|
||
Assignee | ||
Comment 2•14 days ago
|
||
This can be tested with the following code:
var svc = Cc["@mozilla.org/alerts-service;1"].getService(Ci.nsIAlertsService);
var alert = Cc["@mozilla.org/alert-notification;1"].createInstance(Ci.nsIAlertNotification);
var principal = null;
// // On Windows:
// var alert = Cc["@mozilla.org/windows-alert-notification;1"].createInstance(Ci.nsIWindowsAlertNotification);
// alert.handleActions = true;
// principal = Services.scriptSecurityManager.getSystemPrincipal();
alert1.init("", "title", "message", true, "test-id", undefined, "test-id", undefined, undefined, systemPrincipal, undefined, false);
alert1.actions = [{action: "action1", title: "title1"}];
svc.showAlert(alert1, console.log)
Assignee | ||
Updated•8 days ago
|
Keywords: leave-open
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/db452351816b
Part 1: Fix clang warnings r=stransky
Comment 4•7 days ago
|
||
bugherder |
Assignee | ||
Updated•7 days ago
|
Keywords: leave-open
You need to log in
before you can comment on or make changes to this bug.
Description
•