diff options
author | monsta <[email protected]> | 2017-08-28 14:17:18 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-08-29 21:48:40 +0300 |
commit | 1b6b16df34de6114e2cdd62b66d0c6e75c42a3e1 (patch) | |
tree | 221814dc70e764f643542205e9d774cd9f2aac8c /src | |
parent | b13b94a76b79dd2ce90998971defaf326f5c15ea (diff) | |
download | caja-1b6b16df34de6114e2cdd62b66d0c6e75c42a3e1.tar.bz2 caja-1b6b16df34de6114e2cdd62b66d0c6e75c42a3e1.tar.xz |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/file-manager/fm-list-view.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c index 4a2a82fd..85f6bad8 100644 --- a/src/file-manager/fm-list-view.c +++ b/src/file-manager/fm-list-view.c @@ -2777,6 +2777,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); |