--- a/pidgin/pidginaccounteditor.c Sat Apr 13 23:52:51 2024 -0500
+++ b/pidgin/pidginaccounteditor.c Sun Apr 14 01:08:37 2024 -0500
@@ -260,7 +260,6 @@
PurpleContactInfo *info = PURPLE_CONTACT_INFO(editor->account);
svalue = purple_contact_info_get_alias(info);
- image = purple_buddy_icons_find_account_icon(editor->account);
use_global = purple_account_get_bool(editor->account,
"use-global-buddyicon", TRUE);
@@ -813,15 +812,7 @@
bvalue = gtk_switch_get_active(GTK_SWITCH(editor->use_custom_avatar));
purple_account_set_bool(editor->account, "use-global-buddyicon", !bvalue);
- if(GDK_IS_PIXBUF(editor->avatar_pixbuf)) {
- #pragma message("implement this when buddy icons do not suck so bad.")
- purple_buddy_icons_set_account_icon(editor->account, NULL, 0);
- #pragma message("set the global buddy icon when buddy icons do not suck so bad.")
+ #pragma message("implement this when buddy icons do not suck so bad.") purple_account_thaw_notify_settings(editor->account);
--- a/pidgin/pidginaccountmanagerrow.c Sat Apr 13 23:52:51 2024 -0500
+++ b/pidgin/pidginaccountmanagerrow.c Sun Apr 14 01:08:37 2024 -0500
@@ -48,28 +48,8 @@
*****************************************************************************/
-pidgin_account_manager_row_refresh_buddy_icon(PidginAccountManagerRow *row) {
- PurpleImage *image = NULL;
+pidgin_account_manager_row_refresh_buddy_icon(G_GNUC_UNUSED PidginAccountManagerRow *row) { #pragma message("FIX call this in the right place when buddy icons are better and can autorefresh")
- if(!PURPLE_IS_ACCOUNT(row->account)) {
- image = purple_buddy_icons_find_account_icon(row->account);
- if(PURPLE_IS_IMAGE(image)) {
- GdkTexture *texture = NULL;
- bytes = purple_image_get_contents(image);
- texture = gdk_texture_new_from_bytes(bytes, NULL);
- if(GDK_IS_TEXTURE(texture)) {
- adw_avatar_set_custom_image(row->avatar, GDK_PAINTABLE(texture));
- g_object_unref(texture);