summaryrefslogtreecommitdiff
path: root/src/trg-tree-view.c
diff options
context:
space:
mode:
authorGravatar Alan F <ajf@eth0.org.uk>2014-06-20 21:42:18 +0100
committerGravatar Alan F <ajf@eth0.org.uk>2014-06-20 21:42:18 +0100
commitaa4e0c7d836cfcc10d8effd10225abb050343fc8 (patch)
tree850b7b16f70cf9b8c3a38d4dc53dfd0a47f21a04 /src/trg-tree-view.c
parentcdd62e21a859fe0b0256812559945da923c0567e (diff)
revert to autosize
Diffstat (limited to 'src/trg-tree-view.c')
-rw-r--r--src/trg-tree-view.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/trg-tree-view.c b/src/trg-tree-view.c
index 49b215a..cc8da55 100644
--- a/src/trg-tree-view.c
+++ b/src/trg-tree-view.c
@@ -569,16 +569,11 @@ trg_tree_view_add_column_after(TrgTreeView * tv,
gtk_tree_view_column_set_sort_column_id(column, desc->model_column);
gtk_tree_view_column_set_expand(column, TRUE);
- gtk_tree_view_column_set_sizing(column,
- GTK_TREE_VIEW_COLUMN_FIXED);
+ /*gtk_tree_view_column_set_sizing(column,
+ GTK_TREE_VIEW_COLUMN_FIXED);*/
if (width > 0) {
- /*gtk_tree_view_column_set_sizing(column,
- GTK_TREE_VIEW_COLUMN_GROW_ONLY);*/
- gtk_tree_view_column_set_sizing(column,
- GTK_TREE_VIEW_COLUMN_FIXED);
-
- gtk_tree_view_column_set_fixed_width(column, width);
+ //gtk_tree_view_column_set_fixed_width(column, width);
}
g_object_set_data(G_OBJECT(column), GDATA_KEY_COLUMN_DESC, desc);