Review Request 121105: Show notification configure button only if application actually has configurable notifications
Martin Klapetek
martin.klapetek at gmail.com
Tue Nov 11 18:30:13 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121105/#review70246
-----------------------------------------------------------
dataengines/notifications/notificationsengine.cpp
<https://git.reviewboard.kde.org/r/121105/#comment49118>
Given the bool is the result of the file containing "Event/...", the key here should be a combination of appRealName + the event name.
Otherwise one notification with "configurable == bool" will make it inherently true for all notifications of the given app (or inherently false).
- Martin Klapetek
On Nov. 11, 2014, 6:50 p.m., Kai Uwe Broulik wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/121105/
> -----------------------------------------------------------
>
> (Updated Nov. 11, 2014, 6:50 p.m.)
>
>
> Review request for Plasma, Emmanuel Pescosta, Eike Hein, and Martin Klapetek.
>
>
> Repository: plasma-workspace
>
>
> Description
> -------
>
> This patch makes notifications only show the configure button if the application actually has configurable notifications, adapted from KNotifyEventList::fill().
>
>
> Diffs
> -----
>
> dataengines/notifications/notificationsengine.h 40155f2
> dataengines/notifications/notificationsengine.cpp 06233e9
>
> Diff: https://git.reviewboard.kde.org/r/121105/diff/
>
>
> Testing
> -------
>
> Plasmashell's undo notification and NM notifications still have working configure whereas KMail does not (the dialog was empty previously)
>
>
> Thanks,
>
> Kai Uwe Broulik
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20141111/57cb86e2/attachment.html>
More information about the Plasma-devel
mailing list