UI/UserInterface.py

changeset 3676
2f62b060a931
parent 3670
f0cb7579c0b4
child 3702
dabc69b82c7c
equal deleted inserted replaced
3675:aa48d3e9b008 3676:2f62b060a931
560 560
561 # attribute for the help window 561 # attribute for the help window
562 self.helpWindow = None 562 self.helpWindow = None
563 563
564 # list of web addresses serving the versions file 564 # list of web addresses serving the versions file
565 self.__httpAlternatives = Preferences.getUI("VersionsUrls5") 565 self.__httpAlternatives = Preferences.getUI("VersionsUrls6")
566 self.__inVersionCheck = False 566 self.__inVersionCheck = False
567 self.__versionCheckProgress = None 567 self.__versionCheckProgress = None
568 568
569 # set spellchecker defaults 569 # set spellchecker defaults
570 from QScintilla.SpellChecker import SpellChecker 570 from QScintilla.SpellChecker import SpellChecker
5204 if fn: 5204 if fn:
5205 self.__setWindowCaption(editor=fn) 5205 self.__setWindowCaption(editor=fn)
5206 else: 5206 else:
5207 self.__setWindowCaption(editor="") 5207 self.__setWindowCaption(editor="")
5208 5208
5209 self.__httpAlternatives = Preferences.getUI("VersionsUrls5") 5209 self.__httpAlternatives = Preferences.getUI("VersionsUrls6")
5210 self.performVersionCheck(False) 5210 self.performVersionCheck(False)
5211 5211
5212 self.__configureDockareaCornerUsage() 5212 self.__configureDockareaCornerUsage()
5213 5213
5214 from QScintilla.SpellChecker import SpellChecker 5214 from QScintilla.SpellChecker import SpellChecker
5962 urls = [] 5962 urls = []
5963 while line < len(versions): 5963 while line < len(versions):
5964 urls.append(versions[line]) 5964 urls.append(versions[line])
5965 line += 1 5965 line += 1
5966 5966
5967 Preferences.setUI("VersionsUrls5", urls) 5967 Preferences.setUI("VersionsUrls6", urls)
5968 5968
5969 def __versionCheckResult(self, versions): 5969 def __versionCheckResult(self, versions):
5970 """ 5970 """
5971 Private method to show the result of the version check action. 5971 Private method to show the result of the version check action.
5972 5972

eric ide

mercurial