2050 """ web site icons and cookies are not stored.""" |
2050 """ web site icons and cookies are not stored.""" |
2051 """ HTML5 offline storage will be deactivated.""" |
2051 """ HTML5 offline storage will be deactivated.""" |
2052 """ Until you close the window, you can still click""" |
2052 """ Until you close the window, you can still click""" |
2053 """ the Back and Forward buttons to return to the""" |
2053 """ the Back and Forward buttons to return to the""" |
2054 """ web pages you have opened.</p>""") |
2054 """ web pages you have opened.</p>""") |
2055 res = E5MessageBox.question(self, "", txt, |
2055 res = E5MessageBox.yesNo(self, "", txt) |
2056 QMessageBox.StandardButtons(\ |
2056 if res: |
2057 QMessageBox.Yes | \ |
|
2058 QMessageBox.No), |
|
2059 QMessageBox.No) |
|
2060 if res == QMessageBox.Yes: |
|
2061 settings.setAttribute(QWebSettings.PrivateBrowsingEnabled, True) |
2057 settings.setAttribute(QWebSettings.PrivateBrowsingEnabled, True) |
2062 self.pathCombo.setInsertPolicy(QComboBox.NoInsert) |
2058 self.pathCombo.setInsertPolicy(QComboBox.NoInsert) |
2063 self.privacyLabel.setPixmap( |
2059 self.privacyLabel.setPixmap( |
2064 UI.PixmapCache.getPixmap("privateBrowsing.png")) |
2060 UI.PixmapCache.getPixmap("privateBrowsing.png")) |
2065 self.__setIconDatabasePath(False) |
2061 self.__setIconDatabasePath(False) |