From 13a6d0c4c2bc6984a5320e88c754832ae62be26e Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sun, 4 Sep 2011 15:18:58 -0700 Subject: [PATCH] Zebra-color the divelist ..as suggested by Nathan: "I also wanted to "zebra" color the divelist by setting the rules-hint to TRUE. but I noticed it was already set explicitly to FALSE (even if this is the default). If this is just an accidental copy paste from some tutorial you can experiment (set it to TRUE) and see what you like most." It was indeed just copy-paste from some tutorial, and the zebra-coloring does look nicer, doesn't it? Suggested-by: Nathan Samson Signed-off-by: Linus Torvalds --- divelist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/divelist.c b/divelist.c index 24eec8c..b2ad39d 100644 --- a/divelist.c +++ b/divelist.c @@ -115,7 +115,7 @@ GtkWidget *create_dive_list(void) g_object_set(G_OBJECT(tree_view), "headers-visible", TRUE, "search-column", 0, - "rules-hint", FALSE, + "rules-hint", TRUE, NULL); g_signal_connect(selection, "changed", G_CALLBACK(selection_cb), model); -- 2.45.2