diff options
author | Eduardo Silva <edsiper@gmail.com> | 2011-05-19 08:37:01 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-05-24 09:41:51 -0400 |
commit | 2626e674021c28250874a68f47b0f4759fcf63db (patch) | |
tree | e63987ee30df461e71de147f3bc55a7659306f79 /scripts/kconfig | |
parent | 76ce94a37187327c09343a98726ccea81f9eab54 (diff) |
gconfig: enable rules hint for main treeviews
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 <edsiper@gmail.com>
Tested-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r-- | scripts/kconfig/gconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c index 455896164d72..0c8db7d63c20 100644 --- a/scripts/kconfig/gconf.c +++ b/scripts/kconfig/gconf.c | |||
@@ -253,7 +253,7 @@ void init_left_tree(void) | |||
253 | 253 | ||
254 | gtk_tree_view_set_model(view, model1); | 254 | gtk_tree_view_set_model(view, model1); |
255 | gtk_tree_view_set_headers_visible(view, TRUE); | 255 | gtk_tree_view_set_headers_visible(view, TRUE); |
256 | gtk_tree_view_set_rules_hint(view, FALSE); | 256 | gtk_tree_view_set_rules_hint(view, TRUE); |
257 | 257 | ||
258 | column = gtk_tree_view_column_new(); | 258 | column = gtk_tree_view_column_new(); |
259 | gtk_tree_view_append_column(view, column); | 259 | gtk_tree_view_append_column(view, column); |
@@ -298,7 +298,7 @@ void init_right_tree(void) | |||
298 | 298 | ||
299 | gtk_tree_view_set_model(view, model2); | 299 | gtk_tree_view_set_model(view, model2); |
300 | gtk_tree_view_set_headers_visible(view, TRUE); | 300 | gtk_tree_view_set_headers_visible(view, TRUE); |
301 | gtk_tree_view_set_rules_hint(view, FALSE); | 301 | gtk_tree_view_set_rules_hint(view, TRUE); |
302 | 302 | ||
303 | column = gtk_tree_view_column_new(); | 303 | column = gtk_tree_view_column_new(); |
304 | gtk_tree_view_append_column(view, column); | 304 | gtk_tree_view_append_column(view, column); |