Changes in variable.c [66e409c:d544237]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
variable.c
r66e409c rd544237 110 110 111 111 OWLVAR_ENUM( "loggingdirection" /* %OwlVarStub */, OWL_LOGGING_DIRECTION_BOTH, 112 "specifi ces which kind of messages should be logged",112 "specifies which kind of messages should be logged", 113 113 "Can be one of 'both', 'in', or 'out'. If 'in' is\n" 114 114 "selected, only incoming messages are logged, if 'out'\n" … … 138 138 "location of users in your .anyone file. If a user is present\n" 139 139 "but sent no login message, or a user is not present that sent no\n" 140 "logout message, a pseudo login or logout message wil be created\n",140 "logout message, a pseudo login or logout message will be created\n", 141 141 NULL, owl_variable_pseudologins_set, NULL), 142 142 … … 151 151 152 152 "If non empty, any messages matching the given filter will be logged.\n" 153 "This is a completely separate mechanis im from the other logging\n"153 "This is a completely separate mechanism from the other logging\n" 154 154 "variables like logging, classlogging, loglogins, loggingdirection,\n" 155 155 "etc. If you want this variable to control all logging, make sure\n" … … 198 198 OWLVAR_PATH( "newmsgproc" /* %OwlVarStub:newmsgproc */, NULL, 199 199 "name of a program to run when new messages are present", 200 "The named program will be run when owl rece vies new.\n"200 "The named program will be run when owl receives new\n" 201 201 "messages. It will not be run again until the first\n" 202 202 "instance exits"), … … 213 213 "Called every time you start a zephyrgram without an\n" 214 214 "explicit zsig. The default setting implements the policy\n" 215 "descri pted in the documentation for the 'zsig' variable.\n"),215 "described in the documentation for the 'zsig' variable.\n"), 216 216 217 217 OWLVAR_STRING( "zsig" /* %OwlVarStub */, "", … … 280 280 281 281 OWLVAR_INT( "edit:maxfillcols" /* %OwlVarStub:edit_maxfillcols */, 70, 282 "maximum number of columns for M-q to fill text to", 283 "This specifies the maximum number of columns for M-q\n" 284 "to fill text to. If set to 0, ther will be no maximum\n" 285 "limit. In all cases, the current width of the screen\n" 286 "will also be taken into account. It will be used instead\n" 287 "if it is narrower than the maximum, or if this\n" 288 "is set to 0.\n" ), 289 290 OWLVAR_INT( "edit:maxwrapcols" /* %OwlVarStub:edit_maxwrapcols */, 0, 282 "maximum number of columns for M-q (edit:fill-paragraph) to fill text to", 283 "This specifies the maximum number of columns for M-q to fill text\n" 284 "to. If set to 0, M-q will wrap to the width of the window, and\n" 285 "values less than 0 disable M-q entirely.\n"), 286 287 OWLVAR_INT( "edit:maxwrapcols" /* %OwlVarStub:edit_maxwrapcols */, 70, 291 288 "maximum number of columns for line-wrapping", 292 "This specifies the maximum number of columns for\n" 293 "auto-line-wrapping. If set to 0, ther will be no maximum\n" 294 "limit. In all cases, the current width of the screen\n" 295 "will also be taken into account. It will be used instead\n" 296 "if it is narrower than the maximum, or if this\n" 297 "is set to 0.\n\n" 298 "It is recommended that outgoing messages be no wider\n" 299 "than 60 columns, as a courtesy to recipients.\n"), 289 "This specifies the maximum number of columns for\n" 290 "auto-line-wrapping. If set to 0, text will be wrapped at the\n" 291 "window width. Values less than 0 disable automatic wrapping.\n" 292 "\n" 293 "As a courtesy to recipients, it is recommended that outgoing\n" 294 "Zephyr messages be no wider than 70 columns.\n"), 300 295 301 296 OWLVAR_INT( "aim_ignorelogin_timer" /* %OwlVarStub */, 15, 302 297 "number of seconds after AIM login to ignore login messages", 303 298 "This specifies the number of seconds to wait after an\n" 304 "AIM login before allowing the rec ipt of AIM login notifications.\n"299 "AIM login before allowing the receipt of AIM login notifications.\n" 305 300 "By default this is set to 15. If you would like to view login\n" 306 301 "notifications of buddies as soon as you login, set it to 0 instead."), … … 405 400 int rv; 406 401 rv = owl_variable_int_set_default(v, newval); 407 if (0 == rv) owl_ function_resize();402 if (0 == rv) owl_global_set_relayout_pending(&g); 408 403 return(rv); 409 404 } … … 433 428 int owl_variable_pseudologins_set(owl_variable *v, const void *newval) 434 429 { 430 static owl_timer *timer = NULL; 435 431 if (newval) { 436 432 if (*(const int*)newval == 1) { 437 433 owl_function_zephyr_buddy_check(0); 434 if (timer == NULL) { 435 timer = owl_select_add_timer(180, 180, owl_zephyr_buddycheck_timer, NULL, NULL); 436 } 437 } else { 438 if (timer != NULL) { 439 owl_select_remove_timer(timer); 440 timer = NULL; 441 } 438 442 } 439 443 }
Note: See TracChangeset
for help on using the changeset viewer.