projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b81d3b7
)
Make the desktop notification transient
author
Guido Günther
<agx@sigxcpu.org>
Sun, 13 Feb 2011 11:33:36 +0000
(12:33 +0100)
committer
Guido Günther
<agx@sigxcpu.org>
Sun, 13 Feb 2011 11:33:36 +0000
(12:33 +0100)
so they timeout and don't clutter the notification area.
gbp/notifications.py
patch
|
blob
|
history
diff --git
a/gbp/notifications.py
b/gbp/notifications.py
index
b2534e3
..
9115ac3
100644
(file)
--- 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