diff options
author | Jury Verrigni <[email protected]> | 2017-08-25 14:56:32 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-08-26 11:34:58 +0200 |
commit | ee0de1a5e74cbed5cf49517ea82a73e52dd6424a (patch) | |
tree | c943fbd3ee2e090537c280cd272a3eba892764c3 /src/file-manager/fm-list-view.c | |
parent | 1f5d0488d54d2affc0bcc54a8f21f8936110c688 (diff) | |
download | caja-ee0de1a5e74cbed5cf49517ea82a73e52dd6424a.tar.bz2 caja-ee0de1a5e74cbed5cf49517ea82a73e52dd6424a.tar.xz |
Adds columns autosizing
Diffstat (limited to 'src/file-manager/fm-list-view.c')
-rwxr-xr-x | src/file-manager/fm-list-view.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c index faca4196..95af7d2e 100755 --- a/src/file-manager/fm-list-view.c +++ b/src/file-manager/fm-list-view.c @@ -1765,6 +1765,7 @@ create_and_set_up_tree_view (FMListView *view) gtk_tree_view_column_set_sort_column_id (view->details->file_name_column, column_num); gtk_tree_view_column_set_title (view->details->file_name_column, _("Name")); gtk_tree_view_column_set_resizable (view->details->file_name_column, TRUE); + gtk_tree_view_column_set_sizing(view->details->file_name_column, GTK_TREE_VIEW_COLUMN_AUTOSIZE); gtk_tree_view_column_pack_start (view->details->file_name_column, cell, FALSE); gtk_tree_view_column_set_attributes (view->details->file_name_column, @@ -1804,6 +1805,7 @@ create_and_set_up_tree_view (FMListView *view) column); gtk_tree_view_column_set_resizable (column, TRUE); + gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_AUTOSIZE); } g_free (name); g_free (label); |