Updates status and message for Pidgin IM application.

        `status`
            Status type.
        `message`
            Status message.

def _pidgin_status(status, message):
    """ Updates status and message for Pidgin IM application.

        `status`
            Status type.
        `message`
            Status message.
        """

    try:
        iface = _dbus_get_interface('im.pidgin.purple.PurpleService',
                                    '/im/pidgin/purple/PurpleObject',
                                    'im.pidgin.purple.PurpleInterface')
        if iface:

            # create new transient status
            code = PIDGIN_CODE_MAP[status]
            saved_status = iface.PurpleSavedstatusNew('', code)

            # set the message, if provided
            iface.PurpleSavedstatusSetMessage(saved_status, message)

            # activate status
            iface.PurpleSavedstatusActivate(saved_status)

    except dbus.exceptions.DBusException:
        pass