[gnome-builder] libide/gui: be explicit about rescanning for plugins



commit d4a4ea2a983ecdf040a15496411e745261302e7c
Author: Christian Hergert <chergert redhat com>
Date:   Thu Aug 18 15:42:44 2022 -0700

    libide/gui: be explicit about rescanning for plugins

 src/libide/gui/ide-application-plugins.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/libide/gui/ide-application-plugins.c b/src/libide/gui/ide-application-plugins.c
index 1a32edde4..255ad9e58 100644
--- a/src/libide/gui/ide-application-plugins.c
+++ b/src/libide/gui/ide-application-plugins.c
@@ -334,6 +334,9 @@ _ide_application_load_plugins_for_startup (IdeApplication *self)
                                  "/app/extensions/lib/gnome-builder/plugins",
                                  "/app/extensions/lib/gnome-builder/plugins");
 
+  /* Ensure we've rescanned to take the plugins into account */
+  peas_engine_rescan_plugins (engine);
+
   /* Our first step is to load our "At-Startup" plugins, which may
    * contain things like command-line handlers. For example, the
    * greeter may handle command-line options and then show the


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]