Changeset c453ada for variable.c
- Timestamp:
- May 31, 2008, 11:40:29 PM (17 years ago)
- Branches:
- barnowl_perlaim
- Children:
- 7a1c90d
- Parents:
- b1fd36e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
variable.c
r52f8dd6 rc453ada 239 239 "default zaway message", "" ), 240 240 241 OWLVAR_BOOL_FULL( "aaway" /* %OwlVarStub */, 0,242 "Set AIM away status",243 "",244 NULL, owl_variable_aaway_set, NULL),245 246 OWLVAR_STRING( "aaway_msg" /* %OwlVarStub */,247 OWL_DEFAULT_AAWAYMSG,248 "AIM away msg for responding when away", "" ),249 250 OWLVAR_STRING( "aaway_msg_default" /* %OwlVarStub */,251 OWL_DEFAULT_AAWAYMSG,252 "default AIM away message", "" ),253 254 241 OWLVAR_STRING( "view_home" /* %OwlVarStub */, "all", 255 242 "home view to switch to after 'X' and 'V'", … … 299 286 "than 60 columns, as a courtesy to recipients.\n"), 300 287 301 OWLVAR_INT( "aim_ignorelogin_timer" /* %OwlVarStub */, 15,302 "number of seconds after AIM login to ignore login messages",303 "This specifies the number of seconds to wait after an\n"304 "AIM login before allowing the recipt of AIM login notifications.\n"305 "By default this is set to 15. If you would like to view login\n"306 "notifications of buddies as soon as you login, set it to 0 instead."),307 308 309 288 OWLVAR_INT_FULL( "typewinsize" /* %OwlVarStub:typwin_lines */, 310 289 OWL_TYPWIN_SIZE, … … 403 382 if (newval && (*(int*)newval == 1 || *(int*)newval == 0)) { 404 383 g.debug = *(int*)newval; 405 }406 return owl_variable_bool_set_default(v, newval);407 }408 409 /* When 'aaway' is changed, need to notify the AIM server */410 int owl_variable_aaway_set(owl_variable *v, void *newval)411 {412 if (newval) {413 if (*(int*)newval == 1) {414 owl_aim_set_awaymsg(owl_global_get_aaway_msg(&g));415 } else if (*(int*)newval == 0) {416 owl_aim_set_awaymsg("");417 }418 384 } 419 385 return owl_variable_bool_set_default(v, newval);
Note: See TracChangeset
for help on using the changeset viewer.