D10516: Update status to NeedsAttention when there is a menu
Kai Uwe Broulik
noreply at phabricator.kde.org
Wed Feb 14 19:58:14 UTC 2018
broulik added a comment.
Thanks for looking into this!
I could prefer a QML binding that also takes into account wheter there is a menu at all, something like
Plasmoid.status: {
if (currentIndex > -1) {
return PlasmaCore.Types.NeedsAttentionStatus;
} else if (menuAvailable) {
return PlasmaCore.Types.ActiveStatus;
} else {
return PlasmaCore.Types.PassiveStatus;
}
}
also BUG: 390271
REPOSITORY
R884 Active Window Control Applet for Plasma
REVISION DETAIL
https://phabricator.kde.org/D10516
To: mvourlakos, martinkostolny
Cc: broulik, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180214/9caf34a5/attachment.html>
More information about the Plasma-devel
mailing list