gitk: Make gitk dialog windows transient
commit84a76f18f0313832ccc9c2f0171ace3da64ffa4f
authorAlexander Gavrilov <angavrilov@gmail.com>
Sun, 2 Nov 2008 18:59:45 +0000 (2 21:59 +0300)
committerPaul Mackerras <paulus@samba.org>
Fri, 7 Nov 2008 11:53:14 +0000 (7 22:53 +1100)
tree625c886a4c08d90e7044e6ea7fd0307908d058f1
parent76f15947af78f526925810487f69fed35f6a7daf
gitk: Make gitk dialog windows transient

Transient windows are always kept above their parent, and don't occupy
any space in the taskbar, which is useful for dialogs.  Also, when
transient is used, it is important to bind windows to the correct
parent.

This commit adds transient annotations to all dialogs, ensures usage
of the correct parent for error and confirmation popups, and, as a
side job, makes gitk preserve the create tag dialog window in case of
errors.

Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk