Commit 71bbe72e authored by Christian Hergert's avatar Christian Hergert
Browse files

flatpak: invalidate build pipeline after package installs

After we have installed the given package, ensure that the build pipeline
will be re-setup.
parent f6dfb9f7
......@@ -203,7 +203,17 @@ gbp_flatpak_workbench_addin_install_cb (GObject *object,
/* TODO: Write to message bar */
g_warning ("%s", error->message);
else
gtk_widget_hide (GTK_WIDGET (self->message));
{
IdeContext *context = ide_object_get_context (IDE_OBJECT (manager));
IdeConfigurationManager *config_manager = ide_context_get_configuration_manager (context);
/* TODO: It would be nice to have a cleaner way to re-setup the pipeline
* because we know it is invalidated.
*/
g_signal_emit_by_name (config_manager, "invalidate");
gtk_widget_hide (GTK_WIDGET (self->message));
}
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), TRUE);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment