aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-02-13 12:33:36 +0100
committerGuido Günther <agx@sigxcpu.org>2011-02-13 12:33:36 +0100
commita618bdcf4149443d5b68132e96b5a15b52fc3f05 (patch)
tree7612003b1e2bc0cec2db3fdc700820a6942a1611 /gbp
parentb81d3b721ec8329ef81a7d772771d5263cf1b618 (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.py1
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