Mercurial > pidgin
diff src/prefs.c @ 2323:bde2481bb4db
[gaim-migrate @ 2333]
option to hide icons
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Thu, 20 Sep 2001 09:12:29 +0000 |
| parents | 2752abc68646 |
| children | 2927c2c26fe6 |
line wrap: on
line diff
--- 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(); }
