[gnome-software/wip/kalev/shell-extensions-fixes: 8/10] packagekit: Don't try to launch shell extensions
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/kalev/shell-extensions-fixes: 8/10] packagekit: Don't try to launch shell extensions
- Date: Wed, 21 Feb 2018 10:10:23 +0000 (UTC)
commit dac2731e5941a352a03603373c9d81a4d60578fa
Author: Kalev Lember <klember redhat com>
Date: Wed Feb 21 10:55:16 2018 +0100
packagekit: Don't try to launch shell extensions
Leave all extensions launching (including PackageKit-installed) to the
shell-extensions plugin.
plugins/packagekit/gs-plugin-packagekit.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/plugins/packagekit/gs-plugin-packagekit.c b/plugins/packagekit/gs-plugin-packagekit.c
index c1240d09..81162ff4 100644
--- a/plugins/packagekit/gs-plugin-packagekit.c
+++ b/plugins/packagekit/gs-plugin-packagekit.c
@@ -619,5 +619,8 @@ gs_plugin_launch (GsPlugin *plugin,
if (g_strcmp0 (gs_app_get_management_plugin (app),
gs_plugin_get_name (plugin)) != 0)
return TRUE;
+ /* these are handled by the shell extensions plugin */
+ if (gs_app_get_kind (app) == AS_APP_KIND_SHELL_EXTENSION)
+ return TRUE;
return gs_plugin_app_launch (plugin, app, error);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]