forked from AuroraMiddleware/gtk
filechooserwidget: Connect to items-changed when changing model
Just like previous commit, we need to call list_items_changed() even if we change from single selection to multi selection or vice-versa.
This commit is contained in:
parent
3e4ae62b44
commit
0f503e0ba2
@ -2590,6 +2590,11 @@ set_select_multiple (GtkFileChooserWidget *impl,
|
||||
G_CALLBACK (list_selection_changed),
|
||||
impl);
|
||||
|
||||
g_signal_connect (impl->selection_model,
|
||||
"items-changed",
|
||||
G_CALLBACK (list_items_changed),
|
||||
impl);
|
||||
|
||||
gtk_column_view_set_model (GTK_COLUMN_VIEW (impl->browse_files_column_view),
|
||||
GTK_SELECTION_MODEL (impl->selection_model));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user