comparison pidgin/gtkaccount.c @ 19601:979d1b4fbe35

If a prpl doesn't support icons then hide the "use a custom icon?" checkbox in the account editor. Previously we were hiding the icon selector and the "remove" button, but not the check box.
author Mark Doliner <mark@kingant.net>
date Mon, 03 Sep 2007 09:02:23 +0000
parents 759273051b26
children 20dda83a6c67
comparison
equal deleted inserted replaced
19600:8b887be774e2 19601:979d1b4fbe35
651 if (dialog->prpl_info != NULL) { 651 if (dialog->prpl_info != NULL) {
652 if (!(dialog->prpl_info->options & OPT_PROTO_MAIL_CHECK)) 652 if (!(dialog->prpl_info->options & OPT_PROTO_MAIL_CHECK))
653 gtk_widget_hide(dialog->new_mail_check); 653 gtk_widget_hide(dialog->new_mail_check);
654 654
655 if (dialog->prpl_info->icon_spec.format == NULL) 655 if (dialog->prpl_info->icon_spec.format == NULL)
656 gtk_widget_hide(dialog->icon_check);
656 gtk_widget_hide(dialog->icon_hbox); 657 gtk_widget_hide(dialog->icon_hbox);
657 } 658 }
658 659
659 if (dialog->account != NULL) { 660 if (dialog->account != NULL) {
660 PurpleStoredImage *img; 661 PurpleStoredImage *img;