Make notifications execute the "default" action on click.

Authored by albertvaka on Feb 7 2017, 10:36 PM.

Description

Make notifications execute the "default" action on click.

Summary:
This uses the feature introduced here [1] on KNotifications, so default
actions don't appear as a regular action button. Instead, they are
activated by clicking on the notification itself.

If the default action is not set, it uses the previous behavior of close
on click.

This changes both the notification popup and the notifications inside the
plasmoid.

[1] https://phabricator.kde.org/D4142

Test Plan: Manual testing.

Reviewers: Plasma, colomar, mart

Reviewed By: mart

Subscribers: mart, broulik, apol, mck182, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D4215

Details

Committed
apolFeb 10 2017, 12:19 PM
Reviewer
mart
Differential Revision
D4215: Make notifications execute the "default" action on click.
Parents
R120:ce1b5f4ed807: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown