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