You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
else: infoString= (self.tr("Plugin installed successfully"), self.tr("Python plugin installed.\nNow you need to enable it in Plugin Manager."))
597
604
else:
598
605
infoString= (self.tr("Plugin reinstalled successfully"), self.tr("Python plugin reinstalled.\nYou need to restart Quantum GIS in order to reload it."))
606
+
startPlugin(plugin["localdir"])
599
607
else:
600
608
ifplugin["error"] =="incompatible":
601
609
message=self.tr("The plugin is designed for a newer version of Quantum GIS. The minimum required version is:")
@@ -649,7 +657,7 @@ def uninstallPlugin(self):
649
657
plugin=plugins.all()[key]
650
658
ifnotplugin:
651
659
return
652
-
warning=self.tr("Are you sure you want to uninstall the following plugin?") +"\n"+plugin["name"]
660
+
warning=self.tr("Are you sure you want to uninstall the following plugin?") +"\n("+plugin["name"]+")"
QMessageBox.information(self, self.tr("Plugin uninstalled successfully"), self.tr("Python plugin uninstalled. Note that you may need to restart Quantum GIS in order to remove it completely."))
else: QMessageBox.information(self, self.tr("Plugin uninstalled successfully"), self.tr("Python plugin uninstalled. Note that you may need to restart Quantum GIS in order to remove it completely."))
676
689
history.markChange(key,'D')
677
690
678
691
@@ -834,6 +847,12 @@ def deleteRepository(self):
834
847
self.populatePluginTree()
835
848
836
849
850
+
# ----------------------------------------- #
851
+
defrunHelp(self):
852
+
""" open the context help browser """
853
+
QgsContextHelp.run("QgsPluginInstallerDialog")
854
+
855
+
837
856
# ----------------------------------------- #
838
857
defreject(self):
839
858
""" update the list of seen plugins before exit (both 'done' and 'x' buttons emit 'reject' signal) """
0 commit comments