summaryrefslogtreecommitdiff
path: root/t/t4013
diff options
context:
space:
mode:
authorLibravatar Marcus Karlsson <mk@acc.umu.se>2012-10-07 23:21:14 +0200
committerLibravatar Paul Mackerras <paulus@samba.org>2012-10-22 09:21:56 +1100
commit62e9ac5edfd7d9f24482ce767eec4b1ac96db4a4 (patch)
tree91f92c8ca383e2c77812e565389f736b75ab431f /t/t4013
parentgitk: Use bindshiftfunctionkey to bind Shift-F5 (diff)
downloadtgif-62e9ac5edfd7d9f24482ce767eec4b1ac96db4a4.tar.xz
gitk: Fix crash when not using themed widgets
When configured not to use themed widgets gitk may crash on launch with a message that says that the image "bm-left disabled bm-left-gray" doesn't exist. This happens when the left and right arrow buttons are created. The crash can be avoided by configuring the buttons differently depending on whether or not themed widgets are used. If themed widgets are not used then only set the images to bm-left and bm-right respectively, and keep the old behavior when themed widgets are used. The previous behaviour was added in f062e50f to work around a bug in Tk on OS X where the disabled state did not display properly. The buttons may still not display correctly, however the workaround added in f062e50f will still apply if gitk is used with themed widgets. Make gitk not crash on launch when not using themed widgets. Signed-off-by: Marcus Karlsson <mk@acc.umu.se> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 't/t4013')
0 files changed, 0 insertions, 0 deletions