Hi.<br><br>There&#39;s nothing in place for getting a notification&#39;s ID through either d-bus or pynotify. You would have to somehow share the ID between instances of your program in order to replace the notification. It&#39;s such a rare usecase that I don&#39;t know that it should go into the notification spec (plus it&#39;s prone to abuse and to problems, such as if two notifications shared the same header text).
<br><br>What&#39;s the goal of the daemon and the python process? Can the process somehow use the daemon to grab a notification ID for use, or go through the daemon to emit notifications (allowing the daemon to track the ID)?
<br><br>Christian<br><br><div class="gmail_quote">On Dec 2, 2007 4:23 AM, RazZziel &lt;<a href="mailto:razielmine@gmail.com">razielmine@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi, I&#39;m working on a program in Python that can be executed by a<br>daemon several times in a second, producing a notification in each<br>execution.<br><br>Now, each notification is overlapped to the older one, but I would
<br>like to make each notification update the older one instead, following<br>the behaviour obtained by update on pynotify, or by the replaces_id<br>fieldd in dcop. Would it be possible to make this work through<br>different program instances? For example, a dcop call that detects if
<br>there is any notification being shown, get its header to see if it&#39;s<br>mine, get its body and concatenate the new information to the older<br>one. Or maybe an undocumented pynotify function.<br><br>Greetings<br><font color="#888888">
<br>--<br>...yet even then, we ran like the wind, whilst our laughter echoed,<br>under cerulean skies...<br>_______________________________________________<br>galago-devel mailing list<br><a href="mailto:galago-devel@lists.freedesktop.org">
galago-devel@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/galago-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/galago-devel</a><br></font></blockquote></div><br>
<br clear="all"><br>-- <br>Christian Hammond - <a href="mailto:chipx86@chipx86.com">chipx86@chipx86.com</a><br>VMware, Inc.