gtkfilechooser: keep thumbnail queue across view changes
This commit is contained in:
parent
8571f59136
commit
01d7b18802
1 changed files with 2 additions and 3 deletions
|
|
@ -7525,8 +7525,6 @@ view_mode_set (GtkFileChooserDefault *impl, ViewMode view_mode)
|
|||
file_list_tooltip_cache_clear (impl);
|
||||
file_icon_view_tooltip_cache_clear (impl);
|
||||
|
||||
thumbnail_queue_clear (impl);
|
||||
|
||||
impl->view_mode = view_mode;
|
||||
gtk_combo_box_set_active (GTK_COMBO_BOX (impl->view_mode_combo_box),
|
||||
view_mode);
|
||||
|
|
@ -14215,7 +14213,8 @@ current_view_set_file_model (GtkFileChooserDefault *impl, GtkTreeModel *model)
|
|||
file_list_tooltip_cache_clear (impl);
|
||||
file_icon_view_tooltip_cache_clear (impl);
|
||||
|
||||
thumbnail_queue_clear (impl);
|
||||
if (impl->current_model != model)
|
||||
thumbnail_queue_clear (impl);
|
||||
|
||||
impl->current_model = model;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue