mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 17:33:24 +00:00
Make OTU column invisible by default
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d5c86ebe3d
commit
dc2a0c1909
1 changed files with 2 additions and 1 deletions
|
@ -469,7 +469,7 @@ typedef void (*data_func_t)(GtkTreeViewColumn *col,
|
|||
gpointer data);
|
||||
|
||||
static GtkTreeViewColumn *divelist_column(struct DiveList *dl, int index, const char *title,
|
||||
data_func_t data_func, PangoAlignment align)
|
||||
data_func_t data_func, PangoAlignment align, gboolean visible)
|
||||
{
|
||||
GtkCellRenderer *renderer;
|
||||
GtkTreeViewColumn *col;
|
||||
|
@ -499,6 +499,7 @@ static GtkTreeViewColumn *divelist_column(struct DiveList *dl, int index, const
|
|||
break;
|
||||
}
|
||||
gtk_cell_renderer_set_alignment(GTK_CELL_RENDERER(renderer), xalign, 0.5);
|
||||
gtk_tree_view_column_set_visible(col, visible);
|
||||
gtk_tree_view_append_column(GTK_TREE_VIEW(dl->tree_view), col);
|
||||
return col;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue