Created attachment 3220 implement loading icon with paths Hey, custom icons (using a path instead of an icon name) won't work in xfce4-notifyd. This is because icon loading in xfce_notify_window_set_icon_name() is done using gtk_icon_theme_load_icon() which only picks an icon name, while 0.1.0 was using xfce_themed_icon_load() from libxfcegui4, which could pick an icon name or path. Since xfce_themed_icon_load() doesn't exist anymore in libxfce4ui, I've just added the same trick it was using in xfce4-notifyd. Attached patch fix the problem for me.
21:05 <+NSchermer> g_you don't need to test the path, just use g_path_is_absolute 21:05 <+NSchermer> function will return null if not found 21:07 <+Corsac> (i've just used what used the function in libxfcegui4 to be honest :) 21:07 <+NSchermer> you could also fix gtk_image_set_from_pixbuf(GTK_IMAGE(window->icon), NULL); > should be gtk_image_clear(GTK_IMAGE(window->icon)) 21:07 <+NSchermer> just saying... there is a function for it 21:08 <+NSchermer> and it does exactly the same 21:09 <+NSchermer> asuming the file always exists, you now test the file 2 times 21:10 <+Corsac> I'll let jeromeg do that :)
Created attachment 3221 implement loading icon with paths, updated
Pushed to git master, thanks for the patch.