From cb8e3930d44bbbbc6d3faf78f7826be467978825 Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 28 Aug 2017 14:17:18 +0300 Subject: list view: fix large icon margins on zooming out ported from: https://git.gnome.org/browse/nautilus/commit/?id=4f17fb7db7b8736ebb4fe82ddb1c279777847730 https://git.gnome.org/browse/nautilus/commit/?id=41de4e52b43c8ed5c9118860dac7caa303ebbc5b --- src/file-manager/fm-list-view.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c index faca4196..acdd6226 100644 --- a/src/file-manager/fm-list-view.c +++ b/src/file-manager/fm-list-view.c @@ -2776,6 +2776,9 @@ fm_list_view_set_zoom_level (FMListView *view, gtk_cell_renderer_set_fixed_size (GTK_CELL_RENDERER (view->details->pixbuf_cell), -1, icon_size); + /* FIXME: https://bugzilla.gnome.org/show_bug.cgi?id=641518 */ + gtk_tree_view_columns_autosize (view->details->tree_view); + fm_directory_view_update_menus (FM_DIRECTORY_VIEW (view)); gtk_tree_model_foreach (GTK_TREE_MODEL (view->details->model), list_view_changed_foreach, NULL); -- cgit v1.2.1