Changeset 4fd3c04 for variable.c
- Timestamp:
- Oct 12, 2017, 8:28:02 PM (7 years ago)
- Branches:
- master
- Children:
- a882637
- Parents:
- ee6b30f
- git-author:
- Anders Kaseorg <andersk@mit.edu> (10/06/17 21:27:09)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (10/12/17 20:28:02)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
variable.c
r03fbf66 r4fd3c04 161 161 "Enable printing of login notifications", 162 162 "When this is enabled, BarnOwl will print login and logout notifications\n" 163 "for AIM, zephyr,or other protocols. If disabled BarnOwl will not print\n"163 "for zephyr or other protocols. If disabled BarnOwl will not print\n" 164 164 "login or logout notifications.\n"); 165 165 … … 233 233 "default zaway message", "" ); 234 234 235 OWLVAR_BOOL_FULL( "aaway" /* %OwlVarStub */, 0,236 "Set AIM away status",237 "",238 NULL, owl_variable_aaway_set, NULL);239 240 OWLVAR_STRING( "aaway_msg" /* %OwlVarStub */,241 OWL_DEFAULT_AAWAYMSG,242 "AIM away msg for responding when away", "" );243 244 OWLVAR_STRING( "aaway_msg_default" /* %OwlVarStub */,245 OWL_DEFAULT_AAWAYMSG,246 "default AIM away message", "" );247 248 235 OWLVAR_STRING( "view_home" /* %OwlVarStub */, "all", 249 236 "home view to switch to after 'X' and 'V'", … … 288 275 "Zephyr messages be no wider than 70 columns.\n"); 289 276 290 OWLVAR_INT( "aim_ignorelogin_timer" /* %OwlVarStub */, 15,291 "number of seconds after AIM login to ignore login messages",292 "This specifies the number of seconds to wait after an\n"293 "AIM login before allowing the receipt of AIM login notifications.\n"294 "By default this is set to 15. If you would like to view login\n"295 "notifications of buddies as soon as you login, set it to 0 instead.");296 297 298 277 OWLVAR_INT_FULL( "typewinsize" /* %OwlVarStub:typwin_lines */, 299 278 OWL_TYPWIN_SIZE, … … 461 440 } 462 441 463 /* When 'aaway' is changed, need to notify the AIM server */464 int owl_variable_aaway_set(owl_variable *v, bool newval)465 {466 if (newval) {467 owl_aim_set_awaymsg(owl_global_get_aaway_msg(&g));468 } else {469 owl_aim_set_awaymsg("");470 }471 return owl_variable_bool_set_default(v, newval);472 }473 474 442 int owl_variable_colorztext_set(owl_variable *v, bool newval) 475 443 {
Note: See TracChangeset
for help on using the changeset viewer.