GNOME Bugzilla – Bug 681613
icon view doesn't emit selection changed when the model changes
Last modified: 2012-08-20 18:00:08 UTC
The icon view doesn't emit a selection changed when the model changes. The tree view does. Icon view probably should to. My specific use case is that I'm tracking whether an item is selected in a background chooser dialog in order to set whether the default response is sensitive or not.
Created attachment 220898 [details] [review] icon-view: emit selection-changed when changing the model Only if there was a selection active.
Review of attachment 220898 [details] [review]: looks good to me.
Review of attachment 220898 [details] [review]: The one caveat is that this will likely cause signal emissions at destroy time, when the model is unset. We already have that issue with the treeview, and people are filing bugs about it. But it is correct that treeview and iconview should behave the same, so please commit