Mercurial > libervia-backend
comparison frontends/src/primitivus/notify.py @ 588:beaf6bec2fcd
Remove every old-style class.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 18 Jan 2013 17:55:35 +0100 |
parents | 952322b1d490 |
children | 84a6e83157c2 |
comparison
equal
deleted
inserted
replaced
587:952322b1d490 | 588:beaf6bec2fcd |
---|---|
19 along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 along with this program. If not, see <http://www.gnu.org/licenses/>. |
20 """ | 20 """ |
21 | 21 |
22 import dbus | 22 import dbus |
23 | 23 |
24 class Notify: | 24 class Notify(object): |
25 """Used to send notification and detect if we have focus""" | 25 """Used to send notification and detect if we have focus""" |
26 | 26 |
27 def __init__(self): | 27 def __init__(self): |
28 | 28 |
29 #X11 stuff | 29 #X11 stuff |