changeset 16773:ef86cf8789ea

Fix #470 (change spellchecker language to not select every language)
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 01 May 2007 23:36:35 +0000
parents ee0183e375db
children 887cb45425d0
files pidgin/win32/nsis/pidgin-installer.nsi
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/win32/nsis/pidgin-installer.nsi	Tue May 01 23:08:31 2007 +0000
+++ b/pidgin/win32/nsis/pidgin-installer.nsi	Tue May 01 23:36:35 2007 +0000
@@ -284,7 +284,7 @@
   try_uninstall:
     StrCmp $R1 "" done
       ; Version key started with 0.60a3. Prior versions can't be
-      ; automaticlly uninstalled.
+      ; automatically uninstalled.
       StrCmp $R2 "" uninstall_problem
         ; Check if we have uninstall string..
         IfFileExists $R3 0 uninstall_problem
@@ -344,7 +344,7 @@
   StrCmp $R0 "0" have_gtk
   StrCmp $R0 "1" upgrade_gtk
   StrCmp $R0 "2" upgrade_gtk
-  StrCmp $R0 "3" no_gtk no_gtk
+  ;StrCmp $R0 "3" no_gtk no_gtk
 
   no_gtk:
     StrCmp $R1 "NONE" gtk_no_install_rights
@@ -1138,6 +1138,9 @@
   IfErrors +2
   WriteRegStr HKCU "${PIDGIN_REG_KEY}" "Installer Language" "$R0"
 
+  !insertmacro SetSectionFlag ${SecSpellCheck} ${SF_RO}
+  !insertmacro UnselectSection ${SecSpellCheck}
+
   ;Mark the dictionaries that are already installed as readonly
   Call SelectAndDisableInstalledDictionaries