eric7/WebBrowser/WebBrowserPage.py

branch
eric7
changeset 8322
b422b4e77d19
parent 8318
962bce857696
child 8354
12ebd3934fef
equal deleted inserted replaced
8319:ea11a3948f40 8322:b422b4e77d19
186 WebBrowserWindow.getWindow(), 186 WebBrowserWindow.getWindow(),
187 self.tr("Suspicuous URL detected"), 187 self.tr("Suspicuous URL detected"),
188 self.tr("<p>The URL <b>{0}</b> was found in the Safe" 188 self.tr("<p>The URL <b>{0}</b> was found in the Safe"
189 " Browsing database.</p>{1}").format( 189 " Browsing database.</p>{1}").format(
190 url.toString(), "".join(threatMessages)), 190 url.toString(), "".join(threatMessages)),
191 E5MessageBox.StandardButtons( 191 E5MessageBox.Abort | E5MessageBox.Ignore,
192 E5MessageBox.Abort |
193 E5MessageBox.Ignore),
194 E5MessageBox.Abort) 192 E5MessageBox.Abort)
195 if res == E5MessageBox.Abort: 193 if res == E5MessageBox.Abort:
196 self.safeBrowsingAbort.emit() 194 self.safeBrowsingAbort.emit()
197 return False 195 return False
198 196

eric ide

mercurial