Helpviewer/CookieJar/CookiesExceptionsDialog.py

changeset 3190
a9a94491c4fd
parent 3160
209a07d7e401
child 3345
071afe8be2a1
equal deleted inserted replaced
3189:9a21c547de5f 3190:a9a94491c4fd
59 header = self.exceptionsTable.horizontalHeader()\ 59 header = self.exceptionsTable.horizontalHeader()\
60 .sectionSizeHint(section) 60 .sectionSizeHint(section)
61 if section == 0: 61 if section == 0:
62 header = fm.width("averagebiglonghost.averagedomain.info") 62 header = fm.width("averagebiglonghost.averagedomain.info")
63 elif section == 1: 63 elif section == 1:
64 header = fm.width(self.trUtf8("Allow For Session")) 64 header = fm.width(self.tr("Allow For Session"))
65 buffer = fm.width("mm") 65 buffer = fm.width("mm")
66 header += buffer 66 header += buffer
67 self.exceptionsTable.horizontalHeader()\ 67 self.exceptionsTable.horizontalHeader()\
68 .resizeSection(section, header) 68 .resizeSection(section, header)
69 69

eric ide

mercurial