[gnome-software/gnome-3-20] trivial: Actually disable the plugin if setup failed
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-20] trivial: Actually disable the plugin if setup failed
- Date: Wed, 20 Apr 2016 13:02:31 +0000 (UTC)
commit b540282cb5705698697a27124644bf7a20924684
Author: Richard Hughes <richard hughsie com>
Date: Wed Apr 20 14:01:29 2016 +0100
trivial: Actually disable the plugin if setup failed
src/gs-plugin-loader.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index 93be8ec..43ce2c0 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -3220,6 +3220,7 @@ gs_plugin_loader_setup (GsPluginLoader *plugin_loader,
if (!ret) {
g_debug ("disabling %s as setup failed: %s",
plugin->name, error_local->message);
+ plugin->enabled = FALSE;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]