From fd7548c16aa5459c594ed67e8c80de0115468e76 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 1 Sep 2015 02:05:54 +0200 Subject: [PATCH] Hide headers in the main view It does not make any sense to show it, since there is only one column anyway. --- src/notes.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/notes.c b/src/notes.c index 288edcb..bb1dbe2 100644 --- a/src/notes.c +++ b/src/notes.c @@ -197,6 +197,7 @@ static void _new_view(Notes * notes) notes->filter_sort = gtk_tree_model_sort_new_with_model(notes->filter); notes->view = gtk_tree_view_new_with_model(GTK_TREE_MODEL( notes->filter_sort)); + gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(notes->view), FALSE); gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(notes->view), TRUE); if((sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(notes->view))) != NULL)