Comment 6 for bug 998491

Revision history for this message
Roald Fernandez (contacd) wrote :

This isn't really a bug, as far as I understand it.

The documentation might be a bit confusing, but it says that the parameter --window-icon sets the "window icon". Which is exactly what it does. However, this icon isn't usually shown (though you can confirm it has been set using `xprop`), which gives the impression that perhaps this parameter should allow to change image in the info/warning/message/question dialogs.

In fact, the TODO file lists this as one of the future tasks:

* Would be nice to have an option to use your own icon in the info/warning/message/question dialogs
   - Suggested by Kevin Krinke <email address hidden>

However, if this is to be considered a bug, and that --window-icon should not only set the gtk window icon, but also the displayed image, then the attached patch fixes it (for zenity-3.14.0).