[gnome-builder/wip/gtk4-port] plugins/shellcmd: change locality nick to runtime
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port] plugins/shellcmd: change locality nick to runtime
- Date: Tue, 28 Jun 2022 00:28:26 +0000 (UTC)
commit 622f3b48cb3108ae8b0124f7b18e3113767e4f5e
Author: Christian Hergert <chergert redhat com>
Date: Mon Jun 27 17:25:50 2022 -0700
plugins/shellcmd: change locality nick to runtime
this matches closer to the terminal run command
src/plugins/shellcmd/gbp-shellcmd-command-dialog.ui | 2 +-
src/plugins/shellcmd/gbp-shellcmd-run-command.c | 2 +-
src/plugins/shellcmd/gbp-shellcmd-run-command.h | 4 ++--
src/plugins/shellcmd/org.gnome.builder.shellcmd.command.gschema.xml | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/plugins/shellcmd/gbp-shellcmd-command-dialog.ui
b/src/plugins/shellcmd/gbp-shellcmd-command-dialog.ui
index 27c21f5ea..d12a9f3e4 100644
--- a/src/plugins/shellcmd/gbp-shellcmd-command-dialog.ui
+++ b/src/plugins/shellcmd/gbp-shellcmd-command-dialog.ui
@@ -263,7 +263,7 @@
</child>
<child>
<object class="IdeEnumObject">
- <property name="nick">runner</property>
+ <property name="nick">runtime</property>
<property name="title" translatable="yes">As Target Application</property>
<property name="description" translatable="yes">Runs the command as if it were the target
application.</property>
</object>
diff --git a/src/plugins/shellcmd/gbp-shellcmd-run-command.c b/src/plugins/shellcmd/gbp-shellcmd-run-command.c
index 3b8ea1e17..293cbd080 100644
--- a/src/plugins/shellcmd/gbp-shellcmd-run-command.c
+++ b/src/plugins/shellcmd/gbp-shellcmd-run-command.c
@@ -96,7 +96,7 @@ gbp_shellcmd_run_command_prepare_to_run (IdeRunCommand *run_command,
case GBP_SHELLCMD_LOCALITY_SUBPROCESS:
break;
- case GBP_SHELLCMD_LOCALITY_RUNNER: {
+ case GBP_SHELLCMD_LOCALITY_RUNTIME: {
if (pipeline == NULL || runtime == NULL)
ide_run_context_push_error (run_context,
g_error_new (G_IO_ERROR,
diff --git a/src/plugins/shellcmd/gbp-shellcmd-run-command.h b/src/plugins/shellcmd/gbp-shellcmd-run-command.h
index 6b3ef0754..ee1a524b7 100644
--- a/src/plugins/shellcmd/gbp-shellcmd-run-command.h
+++ b/src/plugins/shellcmd/gbp-shellcmd-run-command.h
@@ -30,14 +30,14 @@ G_BEGIN_DECLS
* %GBP_SHELLCMD_LOCALITY_SUBPROCESS: run as a subprocess of builder
* %GBP_SHELLCMD_LOCALITY_HOST: run on the host system, possibly bypassing container
* %GBP_SHELLCMD_LOCALITY_PIPELINE: run from build pipeline
- * %GBP_SHELLCMD_LOCALITY_RUNNER: run from an application IdeRunner
+ * %GBP_SHELLCMD_LOCALITY_RUNTIME: run like a target application
*/
typedef enum
{
GBP_SHELLCMD_LOCALITY_SUBPROCESS = 0,
GBP_SHELLCMD_LOCALITY_HOST,
GBP_SHELLCMD_LOCALITY_PIPELINE,
- GBP_SHELLCMD_LOCALITY_RUNNER,
+ GBP_SHELLCMD_LOCALITY_RUNTIME,
} GbpShellcmdLocality;
#define GBP_TYPE_SHELLCMD_RUN_COMMAND (gbp_shellcmd_run_command_get_type())
diff --git a/src/plugins/shellcmd/org.gnome.builder.shellcmd.command.gschema.xml
b/src/plugins/shellcmd/org.gnome.builder.shellcmd.command.gschema.xml
index ce2476faa..24b537223 100644
--- a/src/plugins/shellcmd/org.gnome.builder.shellcmd.command.gschema.xml
+++ b/src/plugins/shellcmd/org.gnome.builder.shellcmd.command.gschema.xml
@@ -25,7 +25,7 @@
<choices>
<choice value="host"/>
<choice value="pipeline"/>
- <choice value="runner"/>
+ <choice value="runtime"/>
<choice value="subprocess"/>
</choices>
<default>'pipeline'</default>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]