Fossil SCM

Be consistent with naming. Also remove unused line of code.

andybradford 2013-12-03 05:21 UTC hidden-tag
Commit f742be5faa73d0caa0be1c4be423cf9f7257a41c
2 files changed +2 -2 +1 -2
+2 -2
--- src/setup.c
+++ src/setup.c
@@ -1217,12 +1217,12 @@
12171217
@ show complete diffs of all file changes, or can just list the names of
12181218
@ the files that have changed. Users can get to either page by
12191219
@ clicking. This setting selects the default.</p>
12201220
12211221
@ <hr />
1222
- onoff_attribute("Show hidden artifacts by default",
1223
- "show-hidden-artifacts", "unhide", 0, 0);
1222
+ onoff_attribute("Show hidden check-ins by default",
1223
+ "show-hidden-checkins", "unhide", 0, 0);
12241224
@ <p>In timeline displays, show hidden check-ins by default.</p>
12251225
12261226
@ <hr />
12271227
entry_attribute("Max timeline comment length", 6,
12281228
"timeline-max-comment", "tmc", "0", 0);
12291229
--- src/setup.c
+++ src/setup.c
@@ -1217,12 +1217,12 @@
1217 @ show complete diffs of all file changes, or can just list the names of
1218 @ the files that have changed. Users can get to either page by
1219 @ clicking. This setting selects the default.</p>
1220
1221 @ <hr />
1222 onoff_attribute("Show hidden artifacts by default",
1223 "show-hidden-artifacts", "unhide", 0, 0);
1224 @ <p>In timeline displays, show hidden check-ins by default.</p>
1225
1226 @ <hr />
1227 entry_attribute("Max timeline comment length", 6,
1228 "timeline-max-comment", "tmc", "0", 0);
1229
--- src/setup.c
+++ src/setup.c
@@ -1217,12 +1217,12 @@
1217 @ show complete diffs of all file changes, or can just list the names of
1218 @ the files that have changed. Users can get to either page by
1219 @ clicking. This setting selects the default.</p>
1220
1221 @ <hr />
1222 onoff_attribute("Show hidden check-ins by default",
1223 "show-hidden-checkins", "unhide", 0, 0);
1224 @ <p>In timeline displays, show hidden check-ins by default.</p>
1225
1226 @ <hr />
1227 entry_attribute("Max timeline comment length", 6,
1228 "timeline-max-comment", "tmc", "0", 0);
1229
+1 -2
--- src/timeline.c
+++ src/timeline.c
@@ -1126,13 +1126,12 @@
11261126
tmFlags |= TIMELINE_UNHIDE;
11271127
url_add_parameter(&url, "unhide", "1");
11281128
}else{
11291129
url_add_parameter(&url, "unhide", "0");
11301130
}
1131
- }else if( db_get_boolean("show-hidden-artifacts", 0)==1 ){
1131
+ }else if( db_get_boolean("show-hidden-checkins", 0)==1 ){
11321132
tmFlags |= TIMELINE_UNHIDE;
1133
- /*url_add_parameter(&url, "unhide", "1");*/
11341133
}
11351134
if( P("ubg")!=0 ){
11361135
tmFlags |= TIMELINE_UCOLOR;
11371136
url_add_parameter(&url, "ubg", 0);
11381137
}
11391138
--- src/timeline.c
+++ src/timeline.c
@@ -1126,13 +1126,12 @@
1126 tmFlags |= TIMELINE_UNHIDE;
1127 url_add_parameter(&url, "unhide", "1");
1128 }else{
1129 url_add_parameter(&url, "unhide", "0");
1130 }
1131 }else if( db_get_boolean("show-hidden-artifacts", 0)==1 ){
1132 tmFlags |= TIMELINE_UNHIDE;
1133 /*url_add_parameter(&url, "unhide", "1");*/
1134 }
1135 if( P("ubg")!=0 ){
1136 tmFlags |= TIMELINE_UCOLOR;
1137 url_add_parameter(&url, "ubg", 0);
1138 }
1139
--- src/timeline.c
+++ src/timeline.c
@@ -1126,13 +1126,12 @@
1126 tmFlags |= TIMELINE_UNHIDE;
1127 url_add_parameter(&url, "unhide", "1");
1128 }else{
1129 url_add_parameter(&url, "unhide", "0");
1130 }
1131 }else if( db_get_boolean("show-hidden-checkins", 0)==1 ){
1132 tmFlags |= TIMELINE_UNHIDE;
 
1133 }
1134 if( P("ubg")!=0 ){
1135 tmFlags |= TIMELINE_UCOLOR;
1136 url_add_parameter(&url, "ubg", 0);
1137 }
1138

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button