Mercurial > pidgin
diff libpurple/request.c @ 30455:2ce4b36f1260
Fall back to a non-icon request dialog if a UI does not support showing icon requests. Fixes receiving file transfer offers including a thumbnail in finch. Closes #12561
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Sun, 29 Aug 2010 18:39:49 +0000 |
parents | e72f6383095b |
children | a8cc50c2279f |
line wrap: on
line diff
--- a/libpurple/request.c Wed Aug 25 19:14:48 2010 +0000 +++ b/libpurple/request.c Sun Aug 29 18:39:49 2010 +0000 @@ -1399,6 +1399,11 @@ handles = g_list_append(handles, info); return info->ui_handle; + } else { + /* Fall back on the non-icon request if the UI doesn't support icon + requests */ + return purple_request_action_varg(handle, title, primary, secondary, + default_action, account, who, conv, user_data, action_count, actions); } return NULL;