From: Linus Torvalds Date: Sun, 4 Sep 2011 22:18:58 +0000 (-0700) Subject: Zebra-color the divelist X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=13a6d0c4c2bc6984a5320e88c754832ae62be26e;p=ext%2Fsubsurface.git 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 --- 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);