author | Alexander Gavrilov <angavrilov@gmail.com> | |
Tue, 11 Nov 2008 20:55:42 +0000 (23:55 +0300) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Thu, 13 Nov 2008 10:40:41 +0000 (21:40 +1100) | ||
commit | e7d640086e0d3eb332542da287c40262c6eae207 | |
tree | 32cd2bbcf8bf08eea628e6e85d27ebe45593d1c5 | tree | snapshot |
parent | cea07cf8dc9b3677e0c50433c0d72bce83adbdc7 | commit | diff |
gitk: Fix transient windows on Win32 and MacOS
Transient windows cause problems on these platforms:
- On Win32 the windows appear in the top left corner
of the screen. In order to fix it, this patch causes
them to be explicitly centered on their parents by
an idle handler.
- On MacOS with Tk 8.4 they appear without a title bar.
Since it is clearly unacceptable, this patch disables
transient on that platform.
Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Transient windows cause problems on these platforms:
- On Win32 the windows appear in the top left corner
of the screen. In order to fix it, this patch causes
them to be explicitly centered on their parents by
an idle handler.
- On MacOS with Tk 8.4 they appear without a title bar.
Since it is clearly unacceptable, this patch disables
transient on that platform.
Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |