← Back to team overview

desktop-packages team mailing list archive

[Bug 998491] Re: window icon does not work with all dialogs

 

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 <kckrinke@xxxxxxxxxxxxxxxxxxxx>


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 Desktop
Packages, which is subscribed to zenity in Ubuntu.
https://bugs.launchpad.net/bugs/998491

Title:
  window icon does not work with all dialogs

Status in zenity package in Ubuntu:
  Confirmed

Bug description:
  Hi,

  This commands does not work :
  zenity --color-selection --window-icon "/usr/share/zenity/zenity.png"
  zenity --password --window-icon  "/usr/share/zenity/zenity.png"
  zenity --forms --window-icon "/usr/share/zenity/zenity.png" --add-entry "Test"

  No error but the window icon is not that specified.

  apt-cache policy zenity => 3.4.0-0ubuntu4
  lsb_release -rd => Ubuntu 12.04 LTS

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