[PATCH] Allow the program to explicitly hide a notification
Marco Martin
notmart at gmail.com
Thu Mar 3 10:51:53 UTC 2016
On Wednesday 02 March 2016 14:50:52 Dirk Hohndel wrote:
> If I want to use a PassiveNotification to give some information to the
> user that either hides after a while or gets removed when it's no longer
> valid (i.e.: accessing some web service), then I need a way to explicitly
> hide the notification
since PassiveNotification is private, how do you access it? an hideNotification
wrapper in ApplicationWindow is needed as well i think?
that gives me another question: right now this passivenotification is intended
to be really simple, so there is one and only one (calling showNotification
with a notification already showing will just discard the old one)
a more complex system system could be done , stacking them and whatnot, but
i'm very hesitand on that as i don't want another full notification system (for
which there is the system-wide one)
opinions?
--
Marco Martin
More information about the Plasma-devel
mailing list