summaryrefslogtreecommitdiff
path: root/redo/table_unix.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-29 04:30:58 -0400
committerPietro Gagliardi <[email protected]>2014-07-29 04:30:58 -0400
commitb37f32c142cc2a216057e77432862c1e15f37299 (patch)
treee18df8997b07971ae380f58197a4b20cc7cf8d02 /redo/table_unix.c
parentabb77b7a5cf79f05bf50ec930d29241299d48ad9 (diff)
Made column headers resizeable on GTK+ Tables.
Diffstat (limited to 'redo/table_unix.c')
-rw-r--r--redo/table_unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/redo/table_unix.c b/redo/table_unix.c
index 9e1f4b6..0fa9c5a 100644
--- a/redo/table_unix.c
+++ b/redo/table_unix.c
@@ -14,6 +14,8 @@ void tableAppendColumn(GtkTreeView *table, gint index, gchar *name)
col = gtk_tree_view_column_new_with_attributes(name, renderer,
"text", index,
NULL);
+ /* allow columns to be resized */
+ gtk_tree_view_column_set_resizable(col, TRUE);
gtk_tree_view_append_column(table, col);
}