src/dialogs.c

changeset 2996
022ed5646da1
parent 2995
33231d4b2cd3
child 3035
5354475cd3f6
equal deleted inserted replaced
2995:33231d4b2cd3 2996:022ed5646da1
1299 (edit_bp->options & OPT_POUNCE_UNIDLE) ? TRUE : FALSE); 1299 (edit_bp->options & OPT_POUNCE_UNIDLE) ? TRUE : FALSE);
1300 gtk_table_attach(GTK_TABLE(table), b->p_unidle, 0, 1, 1, 2, GTK_FILL, 0, 0, 0); 1300 gtk_table_attach(GTK_TABLE(table), b->p_unidle, 0, 1, 1, 2, GTK_FILL, 0, 0, 0);
1301 gtk_widget_show(b->p_unidle); 1301 gtk_widget_show(b->p_unidle);
1302 1302
1303 b->p_typing = gtk_check_button_new_with_label(_("Pounce when buddy is typing to you")); 1303 b->p_typing = gtk_check_button_new_with_label(_("Pounce when buddy is typing to you"));
1304 if (edit_bp)
1305 gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(b->p_typing),
1306 (edit_bp->options & OPT_POUNCE_TYPING) ? TRUE : FALSE);
1304 gtk_table_attach(GTK_TABLE(table), b->p_typing,1,2,1,2, GTK_FILL | GTK_EXPAND, 0, 0, 0); 1307 gtk_table_attach(GTK_TABLE(table), b->p_typing,1,2,1,2, GTK_FILL | GTK_EXPAND, 0, 0, 0);
1305 gtk_widget_show(b->p_typing); 1308 gtk_widget_show(b->p_typing);
1306 1309
1307 /* </pounce type="when"> */ 1310 /* </pounce type="when"> */
1308 1311

mercurial