eric6/PluginManager/PluginUninstallDialog.py

changeset 7955
567f2ec958c3
parent 7923
91e843545d9a
child 8143
2c730d5fd177
equal deleted inserted replaced
7954:d32319ede131 7955:567f2ec958c3
184 """<p>Reason: {1}</p>""").format(packageDir, str(err))) 184 """<p>Reason: {1}</p>""").format(packageDir, str(err)))
185 return False 185 return False
186 186
187 if not self.__external: 187 if not self.__external:
188 ui = e5App().getObject("UserInterface") 188 ui = e5App().getObject("UserInterface")
189 if ui.notificationsEnabled(): 189 ui.showNotification(
190 ui.showNotification( 190 UI.PixmapCache.getPixmap("plugin48"),
191 UI.PixmapCache.getPixmap("plugin48"), 191 self.tr("Plugin Uninstallation"),
192 self.tr("Plugin Uninstallation"), 192 self.tr(
193 self.tr( 193 """<p>The plugin <b>{0}</b> was uninstalled"""
194 """<p>The plugin <b>{0}</b> was uninstalled""" 194 """ successfully from {1}.</p>""")
195 """ successfully from {1}.</p>""") 195 .format(pluginName, pluginDirectory))
196 .format(pluginName, pluginDirectory)) 196 return True
197 return True
198 197
199 E5MessageBox.information( 198 E5MessageBox.information(
200 self, 199 self,
201 self.tr("Plugin Uninstallation"), 200 self.tr("Plugin Uninstallation"),
202 self.tr( 201 self.tr(

eric ide

mercurial