Check if the notifications client supports actions
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 5 Sep 2010 10:04:37 +0000 (12:04 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 5 Sep 2010 10:10:31 +0000 (12:10 +0200)
commite7e5830395a443fe2c185385115774e6f85428f8
tree55b9d7f6ca2ccf9cc75c62cfc1a7e8f5b8712fb8
parent0ec85b3e2ce83908af510a25d40eb2b9a0f0ffed
Check if the notifications client supports actions

Ubuntu's notification system doesn't support actions and shows fugly popups
in case apps still define them. So we check for the capability and disable actions
if they're not supported.

Needless to mention that the Quassel team heartily recommends using a notification daemon
that is action-enabled for added value.
src/qtui/statusnotifieritem.cpp
src/qtui/statusnotifieritem.h