diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-02-13 12:33:36 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-02-13 12:33:36 +0100 |
commit | a618bdcf4149443d5b68132e96b5a15b52fc3f05 (patch) | |
tree | 7612003b1e2bc0cec2db3fdc700820a6942a1611 /gbp | |
parent | b81d3b721ec8329ef81a7d772771d5263cf1b618 (diff) |
Make the desktop notification transient
so they timeout and don't clutter the notification area.
Diffstat (limited to 'gbp')
-rw-r--r-- | gbp/notifications.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gbp/notifications.py b/gbp/notifications.py index b2534e3f..9115ac39 100644 --- a/gbp/notifications.py +++ b/gbp/notifications.py @@ -45,6 +45,7 @@ def build_msg(cp, success): def send_notification(summary, msg): n = notify_module.Notification(summary, msg) + n.set_hint('transient', True) try: if not n.show(): return False |