diff -r 755a355cf192 -r dc50502319e8 src/prefs.c --- a/src/prefs.c Thu Sep 20 08:42:14 2001 +0000 +++ b/src/prefs.c Thu Sep 20 09:12:29 2001 +0000 @@ -944,6 +944,22 @@ opt = tab_radio(_("Right"), OPT_IM_SIDE_TAB | OPT_IM_BR_TAB, vbox3, opt); gtk_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(toggle_sensitive), opt); +#if USE_PIXBUF + frame = gtk_frame_new(_("Buddy Icons")); + gtk_box_pack_start(GTK_BOX(box), frame, FALSE, FALSE, 5); + gtk_widget_show(frame); + + hbox = gtk_hbox_new(FALSE, 5); + gtk_container_add(GTK_CONTAINER(frame), hbox); + gtk_widget_show(hbox); + + vbox = gtk_vbox_new(FALSE, 5); + gtk_box_pack_start(GTK_BOX(hbox), vbox, TRUE, TRUE, 5); + gtk_widget_show(vbox); + + gaim_button(_("Hide Buddy Icons"), &im_options, OPT_IM_HIDE_ICONS, vbox); +#endif + gtk_widget_show(prefdialog); } @@ -2472,6 +2488,9 @@ if (option == OPT_IM_ONE_WINDOW) tabize(); + if (option == OPT_IM_HIDE_ICONS) + set_hide_icons(); + save_prefs(); }