Fossil SCM
Document the timeline-default-style setting so that it can be viewed and changed on the /setup_settings page and by the "fossil setting" command.
Commit
c9c17a81a9e95d4b5fb261995a6abda876ee979140ad49d727ddfb1fd9b77fb0
Parent
80d2beabe571925…
1 file changed
+16
+16
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -1316,10 +1316,26 @@ | ||
| 1316 | 1316 | } |
| 1317 | 1317 | if( i>2 ){ |
| 1318 | 1318 | style_submenu_multichoice("y", i/2, az, isDisabled); |
| 1319 | 1319 | } |
| 1320 | 1320 | } |
| 1321 | + | |
| 1322 | +/* | |
| 1323 | +** SETTING: timeline-default-style width=5 default=m | |
| 1324 | +** | |
| 1325 | +** This setting determines the default "view style" for timelines. | |
| 1326 | +** The setting should be a single character, one of the following: | |
| 1327 | +** | |
| 1328 | +** c Compact | |
| 1329 | +** j Columnar | |
| 1330 | +** m Modern | |
| 1331 | +** s Simple | |
| 1332 | +** v Verbose | |
| 1333 | +** x Classic | |
| 1334 | +** | |
| 1335 | +** The default value is m (Modern). | |
| 1336 | +*/ | |
| 1321 | 1337 | |
| 1322 | 1338 | /* |
| 1323 | 1339 | ** Return the default value for the "ss" cookie or query parameter. |
| 1324 | 1340 | ** The "ss" cookie determines the graph style. See the |
| 1325 | 1341 | ** timeline_view_styles[] global constant for a list of choices. |
| 1326 | 1342 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1316,10 +1316,26 @@ | |
| 1316 | } |
| 1317 | if( i>2 ){ |
| 1318 | style_submenu_multichoice("y", i/2, az, isDisabled); |
| 1319 | } |
| 1320 | } |
| 1321 | |
| 1322 | /* |
| 1323 | ** Return the default value for the "ss" cookie or query parameter. |
| 1324 | ** The "ss" cookie determines the graph style. See the |
| 1325 | ** timeline_view_styles[] global constant for a list of choices. |
| 1326 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1316,10 +1316,26 @@ | |
| 1316 | } |
| 1317 | if( i>2 ){ |
| 1318 | style_submenu_multichoice("y", i/2, az, isDisabled); |
| 1319 | } |
| 1320 | } |
| 1321 | |
| 1322 | /* |
| 1323 | ** SETTING: timeline-default-style width=5 default=m |
| 1324 | ** |
| 1325 | ** This setting determines the default "view style" for timelines. |
| 1326 | ** The setting should be a single character, one of the following: |
| 1327 | ** |
| 1328 | ** c Compact |
| 1329 | ** j Columnar |
| 1330 | ** m Modern |
| 1331 | ** s Simple |
| 1332 | ** v Verbose |
| 1333 | ** x Classic |
| 1334 | ** |
| 1335 | ** The default value is m (Modern). |
| 1336 | */ |
| 1337 | |
| 1338 | /* |
| 1339 | ** Return the default value for the "ss" cookie or query parameter. |
| 1340 | ** The "ss" cookie determines the graph style. See the |
| 1341 | ** timeline_view_styles[] global constant for a list of choices. |
| 1342 |