]> Pileus Git - ~andy/gtk/commit
gtk: change GtkIconView to "support" actual trees
authorMichael Natterer <mitch@gimp.org>
Thu, 21 Oct 2010 10:54:08 +0000 (12:54 +0200)
committerMichael Natterer <mitch@gimp.org>
Thu, 21 Oct 2010 10:57:55 +0000 (12:57 +0200)
commite4654327df31bc1bd0fd3be4433ee008085ebe95
tree1bebbfb3e24e121f049f55aac09177d2929f5521
parent331323e5c747646b6deb983b8bb61c4ea145f344
gtk: change GtkIconView to "support" actual trees

Remove the check for GTK_TREE_MODEL_LIST_ONLY and make the view
display only the first level of the tree, ignoring all insert, remove
etc. events on the model's branches. This enables generic application
code which always produces GtkTreeStores (also for flat lists) to
display grids of these flat trees.
gtk/gtkiconview.c