From 9b0364d34c069b3700aee9356298379ba74f573b Mon Sep 17 00:00:00 2001 From: Jaromil Date: Tue, 13 Jan 2015 10:42:38 +0100 Subject: [PATCH] preserve current GTK-2.0 theme when using pinentry-gtk-2 (fix #185) --- tomb | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/tomb b/tomb index 6760f28..f3dc2bd 100755 --- a/tomb +++ b/tomb @@ -384,15 +384,21 @@ EOF` # customized gtk2 dialog with a skull (if extras are installed) if _is_found "pinentry-gtk-2"; then + gtkrc="" [[ "$DISPLAY" = "" ]] || { theme=/share/themes/tomb/gtk-2.0-key/gtkrc for i in /usr/local /usr; do [[ -r $i/$theme ]] && { - gtkrc=$i/$theme - break } - done } - - output=`cat <