To pipe in an ivy leaf

to console one's self as best one can.

See also: Ivy

Webster's Revised Unabridged Dictionary, published 1913 by G. & C. Merriam Co.