filechooserwidget: Use GtkSelectionModel for selection
So far, GtkFileChooserWidget has relied on GtkTreeView's selection management. This commit moves it away from GtkTreeView, and that's a massive surgery - sorry :( The most important aspect of this commit is that 'selection_model' is now the main model we deal with. Changing between directories, recent files, and search, all sets the selection_model's model. Selections are entirely handled by GtkSelectionModel now.
This commit is contained in:
committed by
Matthias Clasen
parent
1f2561b08e
commit
9c6d5e2ca5
File diff suppressed because it is too large
Load Diff
@@ -387,11 +387,6 @@
|
||||
<signal name="pressed" handler="click_cb" swapped="no"/>
|
||||
</object>
|
||||
</child>
|
||||
<child internal-child="selection">
|
||||
<object class="GtkTreeSelection" id="treeview-selection2">
|
||||
<signal name="changed" handler="list_selection_changed" swapped="no"/>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
||||
Reference in New Issue
Block a user