Xfce4 Notifyd 0.2.0
Almost exactly two years after the first release of Xfce4 Notifyd, sorry for missing that, 0.2.0 is out.
Most of the work was done by Brian Tarricone, who allowed me to co-maintain this application due to his very limited free time.
The biggest change must be smart notification placement: when there are several notifications, they are placed in a grid-like way, instead of overlapping as they did with the previous version. This also comes with improved support for multiple monitors setups.
We also now support 'gauge' and 'icon-only' notifications as in Canonical's Notify OSD. Xfce4-volumed already uses this to provide a beautiful notification on volume change.
Finally, we are now compatible with the latest specification (0.9) which should fix a great number of issues which happened when applications expected us to be already doing so.
The little screencast I made a while ago:
New features of xfce4-notifyd (Jérôme Guelfucci) from Xfce on Vimeo.
Comments
Hi.. congratulations to this!-)
But sorry.. I have a question :s
What is the reason to use xfce_notify_window_validate_escape_markup() in xfce-notify-window.c to validate the markup unnecessary, when gtk_label_set_markup supports absolutely all markups described in the standard (http://www.galago-project.org/specs...) and more, except for the images that are not implemented by xfce4-notifyd.
I make the query because pragha (another music player), send notifications like "<small><span weight=\"light\">by</span></small> %s ....". This markup is not described in the standard, but are not prohibited in any way.
This works well with notification-daemon, which as I see in http://git.gnome.org/browse/notific... also applies directly the markup.
Thanks to all and regards.
Matias.
I will have a look at that but you do realize that those applications should be fixed and respect the specification? Thanks for letting me know about this.
You're right. I fix it.
Only be hoped that the work to validate this, not displayed, or eliminate what is wrong. But instead, it looks bad, and if you do not validate it would look perfect.
But it is interesting to add the image tag below.
Two last question.
I can not send a link..
notify-send "<a href="http://www.google.com.ar/"> http://www.google.com.ar/</a>"
It should work right? Also does not work with notification daemon. :S
.. and i can not put the summary as bold.
XfceNotifyWindow::summary-bold = TRUE in class "XfceNotifyWindow" is sufficient?
Very thanks!.
Hey Matias!
For your first issue, links only work in the body, not in the summary. Try something like notify-send "Foo" "<a href=\"google.fr\">Google</a>"
For the second issue, try XfceNotifyWindow::summary-bold = 1.
Cheers,
Jérôme