diff --git a/python/pyplugin_installer/installer.py b/python/pyplugin_installer/installer.py
index ba1ebf2aa0f..c8d67aba7e5 100644
--- a/python/pyplugin_installer/installer.py
+++ b/python/pyplugin_installer/installer.py
@@ -458,7 +458,7 @@ class QgsPluginInstaller(QObject):
plugins.rebuild()
self.exportPluginsToManager()
QApplication.restoreOverrideCursor()
- iface.pluginManagerInterface().pushMessage(self.tr("Plugin uninstalled successfully"), Qgis.Info)
+ iface.pluginManagerInterface().pushMessage(self.tr("Plugin uninstalled successfully"), Qgis.Success)
settings = QgsSettings()
settings.remove("/PythonPlugins/" + key)
@@ -677,7 +677,7 @@ class QgsPluginInstaller(QObject):
else:
msg = "%s: %s" % (self.tr("Plugin installation failed"), infoString)
- level = Qgis.Info if success else Qgis.Critical
+ level = Qgis.Success if success else Qgis.Critical
iface.pluginManagerInterface().pushMessage(msg, level)
def processDependencies(self, plugin_id):
@@ -697,10 +697,10 @@ class QgsPluginInstaller(QObject):
self.installPlugin(dependency_plugin_id, stable=action_data['use_stable_version'])
if action_data['action'] == 'install':
iface.pluginManagerInterface().pushMessage(self.tr("Plugin dependency %s successfully installed") %
- dependency_plugin_id, Qgis.Info)
+ dependency_plugin_id, Qgis.Success)
else:
iface.pluginManagerInterface().pushMessage(self.tr("Plugin dependency %s successfully upgraded") %
- dependency_plugin_id, Qgis.Info)
+ dependency_plugin_id, Qgis.Success)
except Exception as ex:
if action_data['action'] == 'install':
iface.pluginManagerInterface().pushMessage(self.tr("Error installing plugin dependency %s: %s") %
diff --git a/src/providers/oracle/qgsoraclenewconnection.cpp b/src/providers/oracle/qgsoraclenewconnection.cpp
index 4ac53aee462..a1ae60399f3 100644
--- a/src/providers/oracle/qgsoraclenewconnection.cpp
+++ b/src/providers/oracle/qgsoraclenewconnection.cpp
@@ -208,7 +208,7 @@ void QgsOracleNewConnection::testConnection()
{
// Database successfully opened; we can now issue SQL commands.
bar->pushMessage( tr( "Connection to %1 was successful." ).arg( txtName->text() ),
- Qgis::MessageLevel::Info );
+ Qgis::MessageLevel::Success );
// free connection resources
QgsOracleConnPool::instance()->releaseConnection( conn );
}
diff --git a/src/providers/postgres/qgspgnewconnection.cpp b/src/providers/postgres/qgspgnewconnection.cpp
index 1a921ad85f8..3d906b00145 100644
--- a/src/providers/postgres/qgspgnewconnection.cpp
+++ b/src/providers/postgres/qgspgnewconnection.cpp
@@ -266,7 +266,7 @@ void QgsPgNewConnection::testConnection()
// Database successfully opened; we can now issue SQL commands.
bar->pushMessage( tr( "Connection to %1 was successful." ).arg( txtName->text() ),
- Qgis::MessageLevel::Info );
+ Qgis::MessageLevel::Success );
// free pg connection resources
conn->unref();