v1cont / yad

Yet Another Dialog
GNU General Public License v3.0
657 stars 58 forks source link

RFE: Add ICON column type to list dialog. #138

Open phenixia2003 opened 3 years ago

phenixia2003 commented 3 years ago

Hello,

In yad manual page it is stated that in case of IMG column type, size of icons may be set through the gtk config property 'gtk-icon-sizes'.

In my point of view, this is impractical. Furthermore, this does not work in case of icons with full path specification, and, the property 'gtk-icon-sizes' is deprecated since Gtk 3.10 (and there is no alternative).

Because of this, I think it would be good to adds an ICON column type to list dialog, and the size of icons could be set through the option --icon-size.

In attachment :

  1. The patch to add support for the ICON column type to yad.
  2. A screenshot of a list dialog with an ICON column (--icon-size=32)

Thanks.

yad-icon-column-type.patch.txt yad-icon-column-type

PS: I posted the same RFE on sourceforge.net (RFE #333), but it seems that sourceforge.net is no longer the right place to post bugs/rfe...

-- SeB