Changeset f933403 for owl.c


Ignore:
Timestamp:
Oct 3, 2003, 9:10:37 PM (21 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
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:
12582d3
Parents:
2404c3a
Message:
Fix to make 'default' style the default again
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r2404c3a rf933403  
    244244  }
    245245
    246   /* set the startup and default style, based on userclue and presence of a
    247    * formatting function */
    248   if (owl_global_is_config_format(&g)) {
    249     owl_global_set_default_style(&g, "perl");
    250   } else if (owl_global_is_userclue(&g, OWL_USERCLUE_CLASSES)) {
    251     owl_global_set_default_style(&g, "default");
    252   } else {
    253     owl_global_set_default_style(&g, "basic");
    254   }
    255 
    256246  /* execute the startup function in the configfile */
    257247  perlout = owl_perlconfig_execute("owl::startup();");
     
    280270      owl_function_loadloginsubs(NULL);
    281271    }
     272  }
     273
     274  /* set the startup and default style, based on userclue and presence of a
     275   * formatting function */
     276  if (owl_global_is_config_format(&g)) {
     277    owl_global_set_default_style(&g, "perl");
     278  } else if (owl_global_is_userclue(&g, OWL_USERCLUE_CLASSES)) {
     279    owl_function_debugmsg("Here with default style\n");
     280    owl_global_set_default_style(&g, "default");
     281  } else {
     282    owl_function_debugmsg("Here with basic style\n");
     283    owl_global_set_default_style(&g, "basic");
    282284  }
    283285
Note: See TracChangeset for help on using the changeset viewer.