Hello, I had an issue with clementine that was not showing icons in native notifications. It appeared as an issue in naughty.
So i saw that the spec on galago-project page is not very clear, giving 2 possible interpretations. So with help from irc i patched naughty.lua and it now works for me. So i'll just throw it here :D admiral0
From 3a9dc15f4c4d6330797c9857d924f61129cfecbd Mon Sep 17 00:00:00 2001 From: Radu Andries <admir...@tuxfamily.org> Date: Thu, 9 Dec 2010 15:35:32 +0100 Subject: [PATCH] Evil spec from galago project. image_data should be read too as in http://www.galago-project.org/specs/notification/0.9/x344.html --- lib/naughty.lua.in | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/lib/naughty.lua.in b/lib/naughty.lua.in index 9240c3f..2652b0d 100644 --- a/lib/naughty.lua.in +++ b/lib/naughty.lua.in @@ -512,7 +512,8 @@ if capi.dbus then args.preset.callback(data, appname, replaces_id, icon, title, text, actions, hints, expire)) then if icon ~= "" then args.icon = icon - elseif hints.icon_data then + elseif hints.icon_data or hints.image_data then + if hints.icon_data == nil then hints.icon_data = hints.image_data end -- icon_data is an array: -- 1 -> width, 2 -> height, 3 -> rowstride, 4 -> has alpha -- 5 -> bits per sample, 6 -> channels, 7 -> data -- 1.7.3.3
signature.asc
Description: This is a digitally signed message part