summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorMarco Trevisan (TreviƱo) <mail@3v1n0.net>2017-12-15 15:47:50 -0500
committerShawn Rutledge <shawn.rutledge@qt.io>2018-02-22 21:05:43 +0000
commitff169e8859457188f94aed86368876ba5bab2e90 (patch)
tree6179a7fefca742aa9c1130f1320075cfbbce0adb /src/3rdparty
parent2dc578a8f25b84abeae7a5049d93fb20d98607af (diff)
dbustray: add NewMenu signal and emit it when menu changed
This is a signal that is not actually supported by the StatusNotificationIcon standard, but it comes to be important for the Qt implementation of it, in fact qt apps might not have a menu, when exporting the Menu path as /NO_DBUSMENU or they could add this later in the execution. So, currently there's no way for the StatusNotificationWatcher to know when a menu has been added (or changed). Adding a NewMenu signal won't cause any troubles, but will allow watchers to be notified properly on menu addition. Change-Id: I9a8b00213f5023950811af1d62cd91bc51744b78 Reviewed-by: Dmitry Shachnev <mitya57@gmail.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/dbus-ifaces/org.kde.StatusNotifierItem.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/3rdparty/dbus-ifaces/org.kde.StatusNotifierItem.xml b/src/3rdparty/dbus-ifaces/org.kde.StatusNotifierItem.xml
index 1cbd78a9c3..cf043748f6 100644
--- a/src/3rdparty/dbus-ifaces/org.kde.StatusNotifierItem.xml
+++ b/src/3rdparty/dbus-ifaces/org.kde.StatusNotifierItem.xml
@@ -85,6 +85,9 @@
<signal name="NewOverlayIcon">
</signal>
+ <signal name="NewMenu">
+ </signal>
+
<signal name="NewToolTip">
</signal>