summaryrefslogtreecommitdiffstats
path: root/divelist.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-04 15:18:58 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-04 15:18:58 -0700
commit13a6d0c4c2bc6984a5320e88c754832ae62be26e (patch)
treedfcf554eabfdb7b020ef30ef04d9e4fa5f5ff175 /divelist.c
parent5c6aa56ff1fcf4b92b0bc56792a82e1ef609ea60 (diff)
downloadsubsurface-13a6d0c4c2bc6984a5320e88c754832ae62be26e.tar.gz
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 <nathansamson@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'divelist.c')
-rw-r--r--divelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/divelist.c b/divelist.c
index 24eec8ce0..b2ad39d0e 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);