Changeset 252a5c2
- Timestamp:
- Nov 1, 2003, 12:53:53 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:
- 7d22e76
- Parents:
- 1db061d
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r1db061d r252a5c2 1 1 $Id$ 2 2 3 2.0.12-pre-3 4 Print an admin message indicating when subscriptions can 5 not be loaded on startup 6 Fixed bug causing problems with invalid @ colors 7 3 8 2.0.12-pre-2 4 9 Set aim_ignorelogin_timer to 15 by default -
fmtext.c
r12c35df r252a5c2 547 547 /* set it as the current color */ 548 548 curcolor=owl_util_string_to_color(buff); 549 if (curcolor==-1) curcolor=OWL_COLOR_DEFAULT; 549 550 owl_free(buff); 550 551 txtptr=tmpptr+1; -
owl.c
r8c92848 r252a5c2 280 280 tw=owl_global_get_typwin(&g); 281 281 282 wrefresh(sepwin);283 284 /* load zephyr subs */285 if (initialsubs) {286 /* load normal subscriptions */287 ret=owl_zephyr_loadsubs(NULL);288 if (ret!=-1) {289 owl_global_add_userclue(&g, OWL_USERCLUE_CLASSES);290 }291 292 /* load login subscriptions */293 if (owl_global_is_loginsubs(&g)) {294 owl_function_loadloginsubs(NULL);295 }296 }297 298 /* set the startup and default style, based on userclue and presence of a299 * formatting function */300 if (0 != strcmp(owl_global_get_default_style(&g), "__unspecified__")) {301 /* the style was set by the user: leave it alone */302 } else if (owl_global_is_config_format(&g)) {303 owl_global_set_default_style(&g, "perl");304 } else if (owl_global_is_userclue(&g, OWL_USERCLUE_CLASSES)) {305 owl_global_set_default_style(&g, "default");306 } else {307 owl_global_set_default_style(&g, "basic");308 }309 310 /* zlog in if we need to */311 if (owl_global_is_startuplogin(&g)) {312 owl_zephyr_zlog_in();313 }314 315 owl_view_set_style(owl_global_get_current_view(&g),316 owl_global_get_style_by_name(&g, owl_global_get_default_style(&g)));317 318 282 /* welcome message */ 319 283 strcpy(startupmsg, "-------------------------------------------------------------------------\n"); … … 329 293 owl_function_adminmsg("", startupmsg); 330 294 sepbar(NULL); 295 296 wrefresh(sepwin); 297 298 /* load zephyr subs */ 299 if (initialsubs) { 300 /* load normal subscriptions */ 301 ret=owl_zephyr_loadsubs(NULL); 302 if (ret==-1) { 303 owl_function_adminmsg("", "Error loading subscriptions, file inaccessable"); 304 } else if (ret!=0) { 305 owl_function_adminmsg("", "Error loading subscriptions"); 306 } 307 308 if (ret!=-1) { 309 owl_global_add_userclue(&g, OWL_USERCLUE_CLASSES); 310 } 311 312 /* load login subscriptions */ 313 if (owl_global_is_loginsubs(&g)) { 314 owl_function_loadloginsubs(NULL); 315 } 316 } 317 318 /* set the startup and default style, based on userclue and presence of a 319 * formatting function */ 320 if (0 != strcmp(owl_global_get_default_style(&g), "__unspecified__")) { 321 /* the style was set by the user: leave it alone */ 322 } else if (owl_global_is_config_format(&g)) { 323 owl_global_set_default_style(&g, "perl"); 324 } else if (owl_global_is_userclue(&g, OWL_USERCLUE_CLASSES)) { 325 owl_global_set_default_style(&g, "default"); 326 } else { 327 owl_global_set_default_style(&g, "basic"); 328 } 329 330 /* zlog in if we need to */ 331 if (owl_global_is_startuplogin(&g)) { 332 owl_zephyr_zlog_in(); 333 } 334 335 owl_view_set_style(owl_global_get_current_view(&g), 336 owl_global_get_style_by_name(&g, owl_global_get_default_style(&g))); 331 337 332 338 owl_context_set_interactive(owl_global_get_context(&g)); -
owl.h
rcee1f25 r252a5c2 19 19 static const char owl_h_fileIdent[] = "$Id$"; 20 20 21 #define OWL_VERSION 2.0.12-pre- 222 #define OWL_VERSION_STRING "2.0.12-pre- 2"21 #define OWL_VERSION 2.0.12-pre-3 22 #define OWL_VERSION_STRING "2.0.12-pre-3" 23 23 24 24 /* Feature that is being tested to redirect stderr through a pipe. -
zephyr.c
r12c35df r252a5c2 126 126 /* sub with defaults */ 127 127 if (ZSubscribeTo(subs,count,0) != ZERR_NONE) { 128 fprintf(stderr, "Error subbing\n");128 owl_function_error("Error subscribing to zephyr notifications."); 129 129 ret=-2; 130 130 } … … 188 188 /* sub with defaults */ 189 189 if (ZSubscribeToSansDefaults(subs,count,0) != ZERR_NONE) { 190 fprintf(stderr, "Error subbing\n");190 owl_function_error("Error subscribing to zephyr notifications."); 191 191 ret=-2; 192 192 }
Note: See TracChangeset
for help on using the changeset viewer.