interfaces: Fix types in SNI interfaces, remove old annotations Not sure why, but the pixmap types in the SNI interface were all wrong (didn't seem to cause any issues, though, for some reason...). Fix this. Remove old com.trolltech.QtDBus.QtTypeName annotations, which are no longer needed in any version of Qt we still support.
Fix notification icon not appearing in Unity Unity's indicator expects certain properties to be exported by an application, of which Quassel is lacking some. This adds IconThemePath, Menu, ItemIsMenu to org.kde.StatusNotifierItem. Thanks a lot to shiznix for providing this patch. Fixes #1269 (cherry picked from commit 3939820389d995f56a073fc1d54ab245c6558312)
Revert "Fix notification icon not appearing in Unity" This fixes builds currently failing at runtime with this D-Bus error: arguments to dbus_message_iter_append_basic() were incorrect, assertion "_dbus_check_is_valid_path (*string_p)" failed in file dbus-message.c line 2680. This reverts commit 3939820389d995f56a073fc1d54ab245c6558312. Unfixes bug #1269
Fix notification icon not appearing in Unity Unity's indicator expects certain properties to be exported by an application, of which Quassel is lacking some. This adds IconThemePath, Menu, ItemIsMenu to org.kde.StatusNotifierItem. Thanks a lot to shiznix for providing this patch. Fixes #1269
Add old-style com.trolltech annotations back into dbus xml files Looks like the move from com.trolltech to org.qtproject happened only recently, and with older Qt point releases Quassel will fail to build that way. By specifying both annotations, we hopefully silence the warnings in current Qt while keeping Quassel buildable against older Qt.
Add notification backend to support DockManagers DockManager is a DBus API that does fancy icons. Current support includes progress reporting whilst connecting, requesting attention when highlighted and showing pending highlight count in a label. Exact support also depends on the dock.
StatusNotifierItem ("D-Bus tray icon") improvements * Get rid of the serviceOwnerChange() deprecation warning in Qt >= 4.6 * Fix behavior when the StatusNotifierHost (dis)appears. Thanks to notmart for fixing this in KDE as well; note that older versions of KDE's SNWatcher won't signal when the host goes away, so Quassel won't go into legacy mode! * Fix hiding of the tray icon in StatusNotifier mode. No more restarting needed.
Basic StatusNotifierItem support This implements the new dbus spec that replaces the old systray: <http://www.notmart.org/misc/statusnotifieritem/> Until the spec has been ratified by freedesktop.org (which should happen soon), we're using the org.kde namespace to get it working in newish (>= 4.4) KDE versions at least. In order to support this even without KDE integration, we've taken a bunch of code from KDE's implementation (written by Marco Martin), only using the parts that are relevant for Quassel, and adapting them to our needs. In case no DBus support is present, or noone listens for the service, we fall back to the classical tray icon. Various bits and pieces are still missing, e.g. tooltips, and the context menu isn't working yet if Qt doesn't support QSystemTrayIcon (but you'll get the dbus item if there's a service listening even without tray icon support in Qt).