79 act = menu.addAction(self.tr("Automatically load images")) |
79 act = menu.addAction(self.tr("Automatically load images")) |
80 act.setCheckable(True) |
80 act.setCheckable(True) |
81 act.setChecked(Preferences.getWebBrowser("AutoLoadImages")) |
81 act.setChecked(Preferences.getWebBrowser("AutoLoadImages")) |
82 act.toggled.connect(self.__setGlobalLoadingImages) |
82 act.toggled.connect(self.__setGlobalLoadingImages) |
83 |
83 |
84 menu.exec_(pos) |
84 menu.exec(pos) |
85 |
85 |
86 @pyqtSlot() |
86 @pyqtSlot() |
87 def __updateIcon(self): |
87 def __updateIcon(self): |
88 """ |
88 """ |
89 Private slot to update the icon. |
89 Private slot to update the icon. |