comparison src/dialogs.c @ 652:4d3285caa191

[gaim-migrate @ 662] damn i'm smooth committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 10 Aug 2000 00:29:06 +0000
parents 650687b7ca0e
children c8a3bf382108
comparison
equal deleted inserted replaced
651:650687b7ca0e 652:4d3285caa191
2730 2730
2731 if (is_checked) { 2731 if (is_checked) {
2732 away_messages = g_list_append(away_messages, b); 2732 away_messages = g_list_append(away_messages, b);
2733 save_prefs(); 2733 save_prefs();
2734 do_away_menu(); 2734 do_away_menu();
2735 if (pd != NULL) 2735 if (prefs_away_list != NULL)
2736 gtk_list_select_item(GTK_LIST(pd->away_list), g_list_index(away_messages, b)); 2736 gtk_list_select_item(GTK_LIST(prefs_away_list), g_list_index(away_messages, b));
2737 } 2737 }
2738 2738
2739 /* stick it on the away list */ 2739 /* stick it on the away list */
2740 if (!strlen(b->name)) 2740 if (!strlen(b->name))
2741 g_snprintf(b->name, sizeof(b->name), "I'm away!"); 2741 g_snprintf(b->name, sizeof(b->name), "I'm away!");