Skip to content

Commit

Permalink
gconfig: enable rules hint for main treeviews
Browse files Browse the repository at this point in the history
Due to the large amount of rows in the treeviews, is difficult to
match columns with rows, setting the rules hint to 'true' allows the
treeview to alternate background colors in the rows making the data
more readable.

Signed-off-by: Eduardo Silva <[email protected]>
Tested-by: Randy Dunlap <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
edsiper authored and michal42 committed May 24, 2011
1 parent 76ce94a commit 2626e67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/kconfig/gconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ void init_left_tree(void)

gtk_tree_view_set_model(view, model1);
gtk_tree_view_set_headers_visible(view, TRUE);
gtk_tree_view_set_rules_hint(view, FALSE);
gtk_tree_view_set_rules_hint(view, TRUE);

column = gtk_tree_view_column_new();
gtk_tree_view_append_column(view, column);
Expand Down Expand Up @@ -298,7 +298,7 @@ void init_right_tree(void)

gtk_tree_view_set_model(view, model2);
gtk_tree_view_set_headers_visible(view, TRUE);
gtk_tree_view_set_rules_hint(view, FALSE);
gtk_tree_view_set_rules_hint(view, TRUE);

column = gtk_tree_view_column_new();
gtk_tree_view_append_column(view, column);
Expand Down

0 comments on commit 2626e67

Please sign in to comment.