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:08:48 +0000 (12:08 +0200)
commit44833145103bc0802f2e6fcc9edecaa2fdafc9d9
tree523cf620cc1a803979d95018aec265fd05d2205c
parentba9fdf3ef19a32ebb380fbff01362f4fedc0d12d
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