]> asedeno.scripts.mit.edu Git - git.git/commit
git-gui: Simplified format of geometry configuration.
authorShawn O. Pearce <spearce@spearce.org>
Sun, 12 Nov 2006 00:32:24 +0000 (19:32 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 12 Nov 2006 05:16:02 +0000 (00:16 -0500)
commitc4fe7728529fd9f3dc2c413ce889d359732cd3a4
treed7ea106506099cbc9e0e55fff3dfaf832858ace7
parent44be340e4d8d39475e86d3e00cec31fec0d0f6c1
git-gui: Simplified format of geometry configuration.

The gui.geometry config value was starting to contain
the odd string \\{ as part of its value due to the
way the Tcl lists were being supplied to git repo-config.

Now we write out only three values: the overall window
geomtry, the y position of the horizontal sash, and
the x position of the vertical sash.  All other data is
skipped, which makes the gui.geometry value simpler.

While debugging this I noticed that the save_my_config
procedure was being invoked multiple times during exit
due to do_quit getting invoked over and over again.  So
now we set a flag in do_quit and don't perform any of our
"at exit" type of logic if we've already been through the
do_quit procedure once.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui