diff 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
line wrap: on
line diff
--- a/src/dialogs.c	Wed Aug 09 15:06:00 2000 +0000
+++ b/src/dialogs.c	Thu Aug 10 00:29:06 2000 +0000
@@ -2732,8 +2732,8 @@
                 away_messages = g_list_append(away_messages, b);
                 save_prefs();
                 do_away_menu();
-                if (pd != NULL)
-                        gtk_list_select_item(GTK_LIST(pd->away_list), g_list_index(away_messages, b));
+                if (prefs_away_list != NULL)
+                        gtk_list_select_item(GTK_LIST(prefs_away_list), g_list_index(away_messages, b));
 	}
 
 	/* stick it on the away list */