From: Wido D. <wi...@us...> - 2005-05-31 11:40:14
|
Update of /cvsroot/luma/luma/lib/luma/base/utils/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27145/lib/luma/base/utils/gui Modified Files: LumaEntryBrowser.py SearchForm.py Log Message: Updated code reflecting the changes in the ServerObject regarding encryption and thus the displaying of the lock-icon. Index: SearchForm.py =================================================================== RCS file: /cvsroot/luma/luma/lib/luma/base/utils/gui/SearchForm.py,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** SearchForm.py 4 Apr 2005 14:19:50 -0000 1.21 --- SearchForm.py 31 May 2005 11:40:06 -0000 1.22 *************** *** 43,47 **** tmpDict = {} for x in self.serverList: ! if x.tls == 1: tmpDict[x.name] = True else: --- 43,47 ---- tmpDict = {} for x in self.serverList: ! if not (x.encryptionMethod == u"None"): tmpDict[x.name] = True else: Index: LumaEntryBrowser.py =================================================================== RCS file: /cvsroot/luma/luma/lib/luma/base/utils/gui/LumaEntryBrowser.py,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** LumaEntryBrowser.py 1 Apr 2005 16:40:26 -0000 1.11 --- LumaEntryBrowser.py 31 May 2005 11:40:06 -0000 1.12 *************** *** 82,86 **** tmpDict = {} for x in self.serverList: ! if x.tls == 1: tmpDict[x.name] = True else: --- 82,86 ---- tmpDict = {} for x in self.serverList: ! if not (x.encryptionMethod == u"None"): tmpDict[x.name] = True else: *************** *** 215,218 **** --- 215,221 ---- def processResults(self, results): + statusBar = qApp.mainWidget().statusBar() + tmpMessage = self.trUtf8("Received %1 entries").arg(unicode(len(results))) + statusBar.message(tmpMessage, 10000) self.data={} if not(results == None): |