Re: [patch] fix default naughty preset

2011-02-03 Thread Uli Schlachter
Am 03.02.2011 01:33, André Aparício wrote: @@ -272,7 +272,7 @@ -- @return The notification object function notify(args) -- gather variables together -local preset = args.preset or config.default_preset or {} +local preset = args.preset local timeout = args.timeout or

Re: [patch] fix default naughty preset

2011-02-03 Thread André Aparício
?Andr=C3=A9=20Apar=C3=ADcio?= aparici...@gmail.com Date: Thu, 3 Feb 2011 15:21:19 + Subject: [PATCH] Fix default naughty preset for dbus notifications --- lib/naughty.lua.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/naughty.lua.in b/lib/naughty.lua.in index

Re: [patch] fix default naughty preset

2011-02-03 Thread Uli Schlachter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Am 03.02.2011 16:41, André Aparício wrote: Right, I didn't remember that it would be called from other place. Then I think it's simply this: [..] Thanks, pushed to both master and 3.4 branches. For future reference, please attach patches as

[patch] fix default naughty preset

2011-02-02 Thread André Aparício
Hi, I have set the default naughty screen to my second screen, but some programs like Transmission or Claws Mail create notifications that appear always in the first screen, this happens because they don't set the urgency hint, and the code in naughty.lua don't apply the default preset in that