95 .itemData(self.pluginDirectoryCombo.currentIndex()) |
95 .itemData(self.pluginDirectoryCombo.currentIndex()) |
96 pluginName = self.pluginNameCombo.currentText() |
96 pluginName = self.pluginNameCombo.currentText() |
97 pluginFile = self.pluginNameCombo\ |
97 pluginFile = self.pluginNameCombo\ |
98 .itemData(self.pluginNameCombo.currentIndex()) |
98 .itemData(self.pluginNameCombo.currentIndex()) |
99 |
99 |
100 if not self.__pluginManager.unloadPlugin(pluginName, pluginDirectory): |
100 if not self.__pluginManager.unloadPlugin(pluginName): |
101 E5MessageBox.critical(self, |
101 E5MessageBox.critical(self, |
102 self.trUtf8("Plugin Uninstallation"), |
102 self.trUtf8("Plugin Uninstallation"), |
103 self.trUtf8("""<p>The plugin <b>{0}</b> could not be unloaded.""" |
103 self.trUtf8("""<p>The plugin <b>{0}</b> could not be unloaded.""" |
104 """ Aborting...</p>""").format(pluginName)) |
104 """ Aborting...</p>""").format(pluginName)) |
105 return False |
105 return False |