aboutsummaryrefslogtreecommitdiff
path: root/src/messages-service.xml
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-02-19 19:21:43 -0500
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-02-19 19:21:43 -0500
commit8249e264e0f426d6702d21a690477be495045f90 (patch)
treeb36b0e80e83e32e3f02329631ee937b0e47e09a7 /src/messages-service.xml
parent7ba2490833317e94754811e60653b871271713dd (diff)
downloadayatana-indicator-messages-8249e264e0f426d6702d21a690477be495045f90.tar.gz
ayatana-indicator-messages-8249e264e0f426d6702d21a690477be495045f90.tar.bz2
ayatana-indicator-messages-8249e264e0f426d6702d21a690477be495045f90.zip
Notify the service when an app unrefs its MessagingMenuApp
Prior to this patch, the messaging menu only marked apps as "not running" when they quit (i.e. disappeared from the bus). This was okay, since most applications only ever release the ref to their MessagingMenuApp when they quit, or after calling _unregister explicitely (which removes them from the menu entirely). However, this is according to libmessagingmenu's documentation, and at least indicator-telepathy relies on it.
Diffstat (limited to 'src/messages-service.xml')
-rw-r--r--src/messages-service.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/messages-service.xml b/src/messages-service.xml
index 00ae154..3c3c779 100644
--- a/src/messages-service.xml
+++ b/src/messages-service.xml
@@ -11,6 +11,10 @@
<arg type="s" name="desktop_id" direction="in" />
</method>
+ <method name="ApplicationStoppedRunning">
+ <arg type="s" name="desktop_id" direction="in" />
+ </method>
+
<method name="SetStatus">
<arg type="s" name="desktop_id" direction="in" />
<arg type="s" name="status" direction="in" />