git-gui: fallback right pane to packed widgets with Tk 8.4
commit02f6cfbd1628d9e99a241d18d805f3842dc746e7
authorMax Kirillov <max@max630.net>
Tue, 14 Jan 2014 23:58:09 +0000 (15 01:58 +0200)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Sat, 18 Jan 2014 16:51:15 +0000 (18 16:51 +0000)
tree92f56d1cb9f4fc42845b1e39d168e34edf8a838d
parent1ea11f0e459e55b062d7ffb30c9eb6a10838ebd5
git-gui: fallback right pane to packed widgets with Tk 8.4

Since 918dbf58, git-gui crashes if started with Tk 8.4. The reason is that
tk < 8.5 does not support -stretch option for panedwindow.

Without the option it's not possible to properly expand the right half -
the commit area is expanded, while desired behavior is to expand the diff
area. So the whole feature should be disabled with Tk
version less than 8.5.

Signed-off-by: Max Kirillov <max@max630.net>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
git-gui.sh