changeset 2996:f42b738368bb

[gaim-migrate @ 3009] Editable typing buddy pounces. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 03 Mar 2002 05:02:21 +0000
parents e27517a5c28e
children 0dba6ea7d632
files src/dialogs.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Sun Mar 03 02:53:46 2002 +0000
+++ b/src/dialogs.c	Sun Mar 03 05:02:21 2002 +0000
@@ -1301,6 +1301,9 @@
 	gtk_widget_show(b->p_unidle);
 	
 	b->p_typing = gtk_check_button_new_with_label(_("Pounce when buddy is typing to you"));
+	if (edit_bp)		
+		gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(b->p_typing),
+					   (edit_bp->options & OPT_POUNCE_TYPING) ? TRUE : FALSE);
 	gtk_table_attach(GTK_TABLE(table), b->p_typing,1,2,1,2, GTK_FILL | GTK_EXPAND, 0, 0, 0);
 	gtk_widget_show(b->p_typing);