diff --git a/qtribu/plugin_main.py b/qtribu/plugin_main.py index acf29a64..0558efd5 100644 --- a/qtribu/plugin_main.py +++ b/qtribu/plugin_main.py @@ -112,30 +112,27 @@ def initGui(self): # -- Help menu self.iface.helpMenu().addSeparator() - self.action_georezo = QAction( - QIcon(str(DIR_PLUGIN_ROOT / "resources/images/georezo.png")), - self.tr("QGIS forum on GeoRezo"), + self.action_geotribu = QAction( + QIcon(str(__icon_path__)), + self.tr("Geotribu website"), ) - self.action_georezo.triggered.connect( + self.action_geotribu.triggered.connect( partial( QDesktopServices.openUrl, - QUrl("https://georezo.net/forum/viewforum.php?id=55"), + QUrl("https://geotribu.fr"), ) ) - self.iface.helpMenu().addAction(self.action_georezo) - self.action_geotribu = QAction( - QIcon(str(__icon_path__)), - self.tr("Geotribu website"), + self.action_georezo = QAction( + QIcon(str(DIR_PLUGIN_ROOT / "resources/images/georezo.png")), + self.tr("QGIS forum on GeoRezo"), ) - self.action_geotribu.triggered.connect( + self.action_georezo.triggered.connect( partial( QDesktopServices.openUrl, - QUrl("http://geotribu.fr"), + QUrl("https://georezo.net/forum/viewforum.php?id=55"), ) ) - self.iface.helpMenu().addAction(self.action_geotribu) - self.action_osgeofr = QAction( QIcon(str(DIR_PLUGIN_ROOT / "resources/images/osgeo.svg")), self.tr("OSGeo France"), @@ -143,11 +140,12 @@ def initGui(self): self.action_osgeofr.triggered.connect( partial( QDesktopServices.openUrl, - QUrl("https://www.osgeo.asso.fr/"), + QUrl("https://www.osgeo.fr/"), ) ) - - self.iface.pluginHelpMenu().addAction(self.action_osgeofr) + self.iface.helpMenu().addAction(self.action_georezo) + self.iface.helpMenu().addAction(self.action_geotribu) + self.iface.helpMenu().addAction(self.action_osgeofr) # -- Toolbar self.iface.addToolBarIcon(self.action_run)