[gnome-software/wip/temp/ubuntu-xenial-rebased: 290/326] Revert "Disable the snappy plugin"
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased: 290/326] Revert "Disable the snappy plugin"
- Date: Fri, 29 Apr 2016 10:11:44 +0000 (UTC)
commit 87c20e84e9603ca46eb5c302aa5de204bb44bc4b
Author: William Hua <william hua canonical com>
Date: Mon Apr 25 14:00:58 2016 +0200
Revert "Disable the snappy plugin"
This reverts commit b8d2e408095de35fd5361bf86c851b5d5becd451.
src/plugins/gs-plugin-snappy.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-snappy.c b/src/plugins/gs-plugin-snappy.c
index 14e5f34..76035f8 100644
--- a/src/plugins/gs-plugin-snappy.c
+++ b/src/plugins/gs-plugin-snappy.c
@@ -46,7 +46,11 @@ gs_plugin_initialize (GsPlugin *plugin)
/* create private area */
plugin->priv = GS_PLUGIN_GET_PRIVATE (GsPluginPrivate);
- gs_plugin_set_enabled (plugin, FALSE);
+ if (!g_file_test (SNAPD_SOCKET, G_FILE_TEST_EXISTS)) {
+ g_debug ("disabling '%s' as no %s available",
+ plugin->name, SNAPD_SOCKET);
+ gs_plugin_set_enabled (plugin, FALSE);
+ }
}
static JsonParser *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]