GNOME Bugzilla – Bug 591290
permit display of images in list mode
Last modified: 2012-07-20 03:05:37 UTC
It would be really cool if zenity could interpret a column as pathnames to images.
Created attachment 140295 [details] [review] Tidy zenity tree logic
Created attachment 140296 [details] [review] add imagelist support Caveats: 1. I load the images on-demand into a hash table. There is no attempt to deallocate the hash table or images. 2. Something (GtkTreeView?) is forcing the height of the window to display some number of rows. This causes the mimimum height of the window to exceed the height of the screen on small screens or when rows have a large height.
Another possibility is to permit the image to appear in other columns besides column #1 so long as there is no column with both check/radio buttons and the image.
Created attachment 141049 [details] [review] add imagelist support
On further reflection, I believe not deallocating images is a feature, not a bug. See bug 592195.
I'll take a look in this patch, seems to be nice have image support.
Great, it would be nice to get some closure on these patches after almost 3 years. :-)
Hehe, sorry, it's a lot of bugs to check, and I'm only one, would be nice if others contribute with patches, not only opening bugs. If you want to contribute more, please contact me ;) I'm still didn't have chance to see this patch, I'll try work on this one over the weekend.
I did a few changes in the nomenclature to conforms zenity and it's comited on master. Thanks! http://git.gnome.org/browse/zenity/commit/?id=c17eff5863009c69196e92520b150643f1f7937d
Awesome! Better late than never. :-)