eric6/WebBrowser/SafeBrowsing/SafeBrowsingManager.py

changeset 8265
0090cfa83159
parent 8260
2161475d9639
equal deleted inserted replaced
8264:f95dde35d0ab 8265:0090cfa83159
157 @type int 157 @type int
158 """ 158 """
159 from WebBrowser.WebBrowserWindow import WebBrowserWindow 159 from WebBrowser.WebBrowserWindow import WebBrowserWindow
160 160
161 kind = ( 161 kind = (
162 NotificationTypes.Critical 162 NotificationTypes.CRITICAL
163 if timeout == 0 else 163 if timeout == 0 else
164 NotificationTypes.Information 164 NotificationTypes.INFORMATION
165 ) 165 )
166 166
167 WebBrowserWindow.showNotification( 167 WebBrowserWindow.showNotification(
168 UI.PixmapCache.getPixmap("safeBrowsing48"), 168 UI.PixmapCache.getPixmap("safeBrowsing48"),
169 self.tr("Google Safe Browsing"), 169 self.tr("Google Safe Browsing"),

eric ide

mercurial