pidgin/pidginaccounteditor.c

changeset 42440
0459fca48457
parent 42352
1c53950f9052
child 42575
580339aa47cc
equal deleted inserted replaced
42439:11da504434f2 42440:0459fca48457
816 bvalue = gtk_switch_get_active(GTK_SWITCH(editor->use_custom_avatar)); 816 bvalue = gtk_switch_get_active(GTK_SWITCH(editor->use_custom_avatar));
817 purple_account_set_bool(editor->account, "use-global-buddyicon", !bvalue); 817 purple_account_set_bool(editor->account, "use-global-buddyicon", !bvalue);
818 818
819 if(bvalue) { 819 if(bvalue) {
820 if(GDK_IS_PIXBUF(editor->avatar_pixbuf)) { 820 if(GDK_IS_PIXBUF(editor->avatar_pixbuf)) {
821 # warning implement this when buddy icons do not suck so bad. 821 #pragma message("implement this when buddy icons do not suck so bad.")
822 } else { 822 } else {
823 purple_buddy_icons_set_account_icon(editor->account, NULL, 0); 823 purple_buddy_icons_set_account_icon(editor->account, NULL, 0);
824 } 824 }
825 } else { 825 } else {
826 # warning set the global buddy icon when buddy icons do not suck so bad. 826 #pragma message("set the global buddy icon when buddy icons do not suck so bad.")
827 } 827 }
828 828
829 purple_account_thaw_notify_settings(editor->account); 829 purple_account_thaw_notify_settings(editor->account);
830 } 830 }
831 831

mercurial