176 return False |
176 return False |
177 |
177 |
178 if not self.__external: |
178 if not self.__external: |
179 ui = e5App().getObject("UserInterface") |
179 ui = e5App().getObject("UserInterface") |
180 if ui.notificationsEnabled(): |
180 if ui.notificationsEnabled(): |
181 ui.showNotification(UI.PixmapCache.getPixmap("plugin48.png"), |
181 ui.showNotification( |
182 self.trUtf8("Plugin Uninstallation"), |
182 UI.PixmapCache.getPixmap("plugin48.png"), |
183 self.trUtf8( |
183 self.trUtf8("Plugin Uninstallation"), |
184 """<p>The plugin <b>{0}</b> was uninstalled successfully""" |
184 self.trUtf8( |
185 """ from {1}.</p>""")\ |
185 """<p>The plugin <b>{0}</b> was uninstalled""" |
|
186 """ successfully from {1}.</p>""")\ |
186 .format(pluginName, pluginDirectory)) |
187 .format(pluginName, pluginDirectory)) |
187 return True |
188 return True |
188 |
189 |
189 E5MessageBox.information( |
190 E5MessageBox.information( |
190 self, |
191 self, |