GNU bug report logs -
#65534
[FR] icon for w32 notification message
Previous Next
Full log
View this message in rfc822 format
> From: Shynur Xie <one.last.kiss <at> outlook.com>
> Date: Fri, 25 Aug 2023 12:57:57 +0000
> msip_labels:
>
> I use this form to send message to the desktop:
>
> (w32-notification-close
> (w32-notification-notify
> :body "Body."))
>
> But it doesn't display an Emacs icon like this:
>
> +------------------------+
> |[ICON] GNU.Emacs ... X|
> | |
> |Body. |
> +------------------------+
The :icon parameter (and its default, if :icon is not specified)
defines the icon shown in the system tray, not the icon shown on the
notification "balloon".
You can have a limited fixed set of icons expressing the severity of
the notification displayed, like this:
(w32-notification-notify
:body "Text notify"
:level 'error
:title "Title")
> How about adding an icon for this message, like most apps do?
Feel free to submit patches that allow that. I'm not sure I see how
to do that using the Shell_NotifyIconW API, but maybe I'm missing
something.
This bug report was last modified 1 year and 286 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.