--- a/pidgin/gtkutils.c Sat Aug 07 04:03:59 2021 -0500
+++ b/pidgin/gtkutils.c Thu Aug 12 00:50:00 2021 -0500
@@ -917,42 +917,35 @@
-stock_id_from_status_primitive_idle(PurpleStatusPrimitive prim, gboolean idle)
- const char *stock = NULL;
+pidgin_stock_id_from_status_primitive(PurpleStatusPrimitive prim) { + const gchar *stock = NULL; case PURPLE_STATUS_UNSET:
case PURPLE_STATUS_UNAVAILABLE:
- stock = idle ? PIDGIN_STOCK_STATUS_BUSY_I : PIDGIN_STOCK_STATUS_BUSY;
+ stock = PIDGIN_STOCK_STATUS_BUSY; - stock = idle ? PIDGIN_STOCK_STATUS_AWAY_I : PIDGIN_STOCK_STATUS_AWAY;
+ stock = PIDGIN_STOCK_STATUS_AWAY; case PURPLE_STATUS_EXTENDED_AWAY:
- stock = idle ? PIDGIN_STOCK_STATUS_XA_I : PIDGIN_STOCK_STATUS_XA;
+ stock = PIDGIN_STOCK_STATUS_XA; case PURPLE_STATUS_INVISIBLE:
stock = PIDGIN_STOCK_STATUS_INVISIBLE;
case PURPLE_STATUS_OFFLINE:
- stock = idle ? PIDGIN_STOCK_STATUS_OFFLINE_I : PIDGIN_STOCK_STATUS_OFFLINE;
+ stock = PIDGIN_STOCK_STATUS_OFFLINE; - stock = idle ? PIDGIN_STOCK_STATUS_AVAILABLE_I : PIDGIN_STOCK_STATUS_AVAILABLE;
+ stock = PIDGIN_STOCK_STATUS_AVAILABLE;
-pidgin_stock_id_from_status_primitive(PurpleStatusPrimitive prim)
- return stock_id_from_status_primitive_idle(prim, FALSE);
pidgin_create_protocol_icon(PurpleAccount *account, PidginProtocolIconSize size)