author | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 21 Feb 2008 02:48:21 +0000 (21:48 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 21 Feb 2008 05:22:06 +0000 (00:22 -0500) | ||
commit | f57ca1efe5b2e6c7ca7c2a08b0c342e2547c826c | |
tree | 6d06e3e4411dbf9e65fd006c3fc0d6e672eac908 | tree | snapshot |
parent | f4d93486aea3a3c20ddef409e5bfd8a60efdc512 | commit | diff |
git-gui: Ensure all spellchecker 'class' variables are initialized
If we somehow managed to get our spellchecker instance created but
aspell wasn't startable we may not finish _connect and thus may
find one or more of our fields was not initialized in the instance.
If we have an instance but no version, there is no reason to show
a version to the user in our about dialog. We effectively have no
spellchecker available.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
If we somehow managed to get our spellchecker instance created but
aspell wasn't startable we may not finish _connect and thus may
find one or more of our fields was not initialized in the instance.
If we have an instance but no version, there is no reason to show
a version to the user in our about dialog. We effectively have no
spellchecker available.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/about.tcl | diff | blob | history | |
lib/spellcheck.tcl | diff | blob | history |