prevent notifications from piling up in Gnome #25

Merged
merged 1 commit into from Oct 22, 2012
Jump to file or symbol
Failed to load files and symbols.
+2 −0
Diff settings

Always

Just for now

View
@@ -165,6 +165,8 @@ function growl(msg, options, fn) {
break;
case 'Linux':
args.push(cmd.icon + " " + image);
+ // libnotify defaults to sticky, set a hint for transient notifications
+ if (!options.sticky) args.push('--hint=int:transient:1');
break;
case 'Windows':
args.push(cmd.icon + quote(image));