Changeset e075479
- Timestamp:
- Jun 26, 2003, 6:20:04 AM (21 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 8d24696
- Parents:
- ceb8cfb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
owl.c
rce7db4d re075479 227 227 } 228 228 229 /* if the config def aults a formatting function, add 'perl' as a style */229 /* if the config defines a formatting function, add 'perl' as a style */ 230 230 if (owl_global_is_config_format(&g)) { 231 231 owl_function_debugmsg("Found perl formatting"); … … 233 233 owl_style_create_perl(s, "perl", "owl::format_msg"); 234 234 owl_global_add_style(&g, s); 235 owl_global_set_default_style(&g, "perl"); 235 236 } 236 237 … … 268 269 } 269 270 270 /* set the default style, based on userclue and presence of a271 * 271 /* set the startup and default style, based on userclue and presence of a 272 * formatting function */ 272 273 if (owl_global_is_config_format(&g)) { 273 274 owl_view_set_style(owl_global_get_current_view(&g), owl_global_get_style_by_name(&g, "perl")); 275 owl_global_set_default_style(&g, "perl"); 274 276 } else if (owl_global_is_userclue(&g, OWL_USERCLUE_CLASSES)) { 275 277 owl_view_set_style(owl_global_get_current_view(&g), owl_global_get_style_by_name(&g, "default")); 278 owl_global_set_default_style(&g, "default"); 276 279 } else { 277 280 owl_view_set_style(owl_global_get_current_view(&g), owl_global_get_style_by_name(&g, "basic")); 281 owl_global_set_default_style(&g, "basic"); 278 282 } 279 283
Note: See TracChangeset
for help on using the changeset viewer.