Mercurial > pidgin
comparison src/gaimrc.c @ 5748:c6a30e1868ae
[gaim-migrate @ 6173]
another pref converted
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Wed, 04 Jun 2003 16:44:08 +0000 |
parents | dbac958d8937 |
children | 1ba7dbd50d85 |
comparison
equal
deleted
inserted
replaced
5747:7ec0cd751e6b | 5748:c6a30e1868ae |
---|---|
361 g_snprintf(a->message, sizeof(a->message), "%s", p->value[1]); | 361 g_snprintf(a->message, sizeof(a->message), "%s", p->value[1]); |
362 away_messages = g_slist_insert_sorted(away_messages, a, sort_awaymsg_list); | 362 away_messages = g_slist_insert_sorted(away_messages, a, sort_awaymsg_list); |
363 } | 363 } |
364 /* auto { time } { default message } */ | 364 /* auto { time } { default message } */ |
365 else if (!strcmp(p->option, "auto")) { | 365 else if (!strcmp(p->option, "auto")) { |
366 auto_away = atoi(p->value[0]); | 366 gaim_prefs_set_int("/core/away/mins_before_away", |
367 atoi(p->value[0])); | |
367 default_away = g_slist_nth_data(away_messages, atoi(p->value[1])); | 368 default_away = g_slist_nth_data(away_messages, atoi(p->value[1])); |
368 } | 369 } |
369 } | 370 } |
370 if (!away_messages) { | 371 if (!away_messages) { |
371 a = g_new0(struct away_message, 1); | 372 a = g_new0(struct away_message, 1); |