author | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 21 Feb 2008 02:55:43 +0000 (21:55 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 21 Feb 2008 05:22:06 +0000 (00:22 -0500) | ||
commit | 35d04b3b110f9adcd485c8470d8048394f586018 | |
tree | c7a7924d61848b2cecda23fa236404d4da86c600 | tree | snapshot |
parent | dd0962883b239ab265079b666d9a9f5014d60e52 | commit | diff |
git-gui: Only bind the spellcheck popup suggestion hook once
If we reconnect to the spellchecker there is no reason to resetup
the binding for button 3 on our text widget to show the suggestion
list (if available).
Plus, by moving it out of _connect and into init we can now break
out of _connect earlier if there is something wrong with the pipe,
for example if the dictionary we were asked to load is not valid.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
If we reconnect to the spellchecker there is no reason to resetup
the binding for button 3 on our text widget to show the suggestion
list (if available).
Plus, by moving it out of _connect and into init we can now break
out of _connect earlier if there is something wrong with the pipe,
for example if the dictionary we were asked to load is not valid.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/spellcheck.tcl | diff | blob | history |