Fix #470 (change spellchecker language to not select every language)

Tue, 01 May 2007 23:36:35 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Tue, 01 May 2007 23:36:35 +0000
changeset 16817
6ebf286c04b2
parent 16816
af1beccb2b6f
child 16819
df6801557679

Fix #470 (change spellchecker language to not select every language)

pidgin/win32/nsis/pidgin-installer.nsi file | annotate | diff | comparison | revisions
--- 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
 

mercurial