diff options
author | Bryce Harrington <bryce@canonical.com> | 2009-08-10 04:10:53 +0100 |
---|---|---|
committer | Lucas Rocha <lucasr@gnome.org> | 2009-08-10 04:10:53 +0100 |
commit | 8e190dbb1f39eae31210f7d4c97a4c5ebb496907 (patch) | |
tree | 0e8a3ff8e7f7a9756e0a4462bf98024397b9d3b8 /src/tree.c | |
parent | 171e59e3eae4ff183d690c460f99eea788b70be8 (diff) |
Bug 552971 - Add a hide-header option to list dialog
Diffstat (limited to 'src/tree.c')
-rw-r--r-- | src/tree.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -480,6 +480,9 @@ zenity_tree (ZenityData *data, ZenityTreeData *tree_data) gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (tree_view), TRUE); + if (tree_data->hide_header) + gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (tree_view), FALSE); + if (tree_data->radiobox || tree_data->checkbox) { if (tree_data->data && *tree_data->data) zenity_tree_fill_entries (GTK_TREE_VIEW (tree_view), tree_data->data, n_columns, TRUE, tree_data->editable); |