How can I tell a pynotify.Notification object to merge with another that has the same title?
Asked
Active
Viewed 302 times
2
-
Why do you think you need that information? – adw Dec 01 '10 at 17:17
-
I want to append to the current notification if it is showing and make a new notification if there is currently no notification showing. – david4dev Dec 01 '10 at 17:43
-
Have you tried calling `set_hint_string('append', '')` on your notifications? – adw Dec 01 '10 at 18:52
-
1Should cause notifications from the same program with the same titles to be merged... – adw Dec 01 '10 at 19:07
-
That does exactly what I want, thanks. Post this as an answer and I'll accept it. – david4dev Dec 01 '10 at 19:12
1 Answers
4
(Per discussion:)
Setting the append hint on your notifications (set_hint_string('append', '')
) tells the notification daemon that it should merge notifications from your app when they have the same titles.

adw
- 4,901
- 1
- 25
- 18