summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Alan F <ajf@eth0.org.uk>2014-06-19 22:07:28 +0100
committerGravatar Alan F <ajf@eth0.org.uk>2014-06-19 22:07:28 +0100
commitcdd62e21a859fe0b0256812559945da923c0567e (patch)
tree823cfb2ee0fa19002ac0dc1ae8dd2bc74f7ee9de /src
parent238d0d75518961a8138a25c2ccfb3986c9f3a8a1 (diff)
make treeview columns fixed again, still doesn't work properly because of gnome bug
Diffstat (limited to 'src')
-rw-r--r--src/trg-tree-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/trg-tree-view.c b/src/trg-tree-view.c
index 108e395..49b215a 100644
--- a/src/trg-tree-view.c
+++ b/src/trg-tree-view.c
@@ -567,6 +567,7 @@ trg_tree_view_add_column_after(TrgTreeView * tv,
gtk_tree_view_column_set_resizable(column, TRUE);
gtk_tree_view_column_set_reorderable(column, TRUE);
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);
@@ -574,6 +575,9 @@ trg_tree_view_add_column_after(TrgTreeView * tv,
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);
}