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 <kckri...@opendoorsoftware.com>


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).





** Patch added: "Patch so that window-icon also sets icon in 
info/warning/message/question dialogs."
   
https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/998491/+attachment/4293554/+files/image-fix.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/998491

Title:
  window icon does not work with all dialogs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/998491/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to