[gnome-builder] plugins/flatpak: denote flatpak run commands with can-default
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] plugins/flatpak: denote flatpak run commands with can-default
- Date: Tue, 19 Jul 2022 23:44:41 +0000 (UTC)
commit 1f5697e191b597402637807dbe663d79d1aa440a
Author: Christian Hergert <chergert redhat com>
Date: Tue Jul 19 16:44:10 2022 -0700
plugins/flatpak: denote flatpak run commands with can-default
These are taken from the manifest, and therefore are a rather trusted
value for the default command to run.
src/plugins/flatpak/gbp-flatpak-run-command-provider.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/flatpak/gbp-flatpak-run-command-provider.c
b/src/plugins/flatpak/gbp-flatpak-run-command-provider.c
index 869b8a2fe..728c5cca2 100644
--- a/src/plugins/flatpak/gbp-flatpak-run-command-provider.c
+++ b/src/plugins/flatpak/gbp-flatpak-run-command-provider.c
@@ -101,6 +101,7 @@ gbp_flatpak_run_command_provider_list_commands_async (IdeRunCommandProvider *pro
ide_run_command_set_priority (command, -1000);
ide_run_command_set_display_name (command, _("Flatpak Application"));
ide_run_command_set_argv (command, (const char * const *)argv);
+ ide_run_command_set_can_default (command, TRUE);
g_list_store_append (store, command);
ide_task_return_pointer (task, g_steal_pointer (&store), g_object_unref);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]