[gnome-builder] buildui: allow setup run-opts in ui.
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] buildui: allow setup run-opts in ui.
- Date: Fri, 10 Dec 2021 20:37:11 +0000 (UTC)
commit 5a6cc00009ebe3fd7f4d7121b0dd701976c3d632
Author: GwenLG <gwenlg xoddark com>
Date: Fri Dec 10 16:22:23 2021 +0100
buildui: allow setup run-opts in ui.
This add an entry to configure run-ops buildconfig option in ui.
src/plugins/buildui/gbp-buildui-config-view-addin.c | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/src/plugins/buildui/gbp-buildui-config-view-addin.c
b/src/plugins/buildui/gbp-buildui-config-view-addin.c
index 63d6f0fb8..dc32ccbf2 100644
--- a/src/plugins/buildui/gbp-buildui-config-view-addin.c
+++ b/src/plugins/buildui/gbp-buildui-config-view-addin.c
@@ -475,6 +475,15 @@ gbp_buildui_config_view_addin_load (IdeConfigViewAddin *addin,
treat_null_as_empty, NULL, NULL, NULL);
add_description_row (preferences, "general", "general", _("Configure Options"), NULL, entry);
+ entry = g_object_new (GTK_TYPE_ENTRY,
+ "visible", TRUE,
+ "hexpand", TRUE,
+ NULL);
+ g_object_bind_property_full (config, "run-opts", entry, "text",
+ G_BINDING_SYNC_CREATE | G_BINDING_BIDIRECTIONAL,
+ treat_null_as_empty, NULL, NULL, NULL);
+ add_description_row (preferences, "general", "general", _("Run Options"), NULL, entry);
+
dzl_preferences_add_custom (preferences, "general", "buttons", box, NULL, 5);
/* Setup runtime selection */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]