Hide headers in the main view
It does not make any sense to show it, since there is only one column anyway.
This commit is contained in:
parent
ccf31d03a1
commit
fd7548c16a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user