LibnotifyNotification: verify if the "actions" capability is supported before adding actions
This would prevent to add actions to notifier such as Ubuntu's Notify-OSD which doesn't support them.
This commit is contained in:
parent
a22dc8676f
commit
743ceed780
2 changed files with 18 additions and 30 deletions
|
@ -35,8 +35,6 @@ class LibnotifyNotification : public Notification {
|
|||
|
||||
void NotificationFailed();
|
||||
|
||||
static LibNotifyLoader libnotify_loader_;
|
||||
|
||||
NotifyNotification* notification_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(LibnotifyNotification);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue