From 38abd653774aa0b3c5cdfd9a8b78619605230726 Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Fri, 28 Nov 2014 09:20:19 +0100 Subject: QSystemTrayIcon uses D-Bus StatusNotifier on Linux when possible MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Implementing org.kde.StatusNotifier DBus interface http://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/ as well as org.canonical.dbusmenu for the limited purpose of showing the tray icon's context menu. If a desktop environment (such as KDE or Unity) has a StatusNotifierWatcher listening, then tray icon information is sent to be displayed by the tray implementation instead of being rendered directly in an XEmbed window. This is necessary because some modern tray implementations no longer provide XEmbed "hosting". [ChangeLog][QPA][Xcb] QSystemTrayIcon uses StatusNotifier D-Bus protocol when the desktop environment supports it Task-number: QTBUG-31762 Done-with: Marco Martin Change-Id: I3b1f744d621eefc7e9c61d1469460ebfcc77fc54 Reviewed-by: Jørgen Lind Reviewed-by: Dmitry Shachnev --- .../dbus-ifaces/org.kde.StatusNotifierItem.xml | 96 ++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 src/3rdparty/dbus-ifaces/org.kde.StatusNotifierItem.xml (limited to 'src/3rdparty/dbus-ifaces') diff --git a/src/3rdparty/dbus-ifaces/org.kde.StatusNotifierItem.xml b/src/3rdparty/dbus-ifaces/org.kde.StatusNotifierItem.xml new file mode 100644 index 0000000000..aeeb42fa87 --- /dev/null +++ b/src/3rdparty/dbus-ifaces/org.kde.StatusNotifierItem.xml @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3