pynotify.set_timeout() ignores timeout
Bug #663726 reported by
Dominik
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
notify-python (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
We have to display notifications longer than 10 seconds. But pynotify seems to ignore the timeout.
Here's my sample code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
import pynotify
pynotify.
n = pynotify.
n.set_urgency(
n.set_timeout(5000) # 60 seconds
n.show()
To post a comment you must log in.
With this code the notification bubble is shown 10 seconds. The same with n.set_timeout( 60000).