[gnome-builder] plugins/buildui: fix initial runtime value
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] plugins/buildui: fix initial runtime value
- Date: Tue, 19 Jul 2022 19:21:23 +0000 (UTC)
commit e7615ea8ba3692667d994f880cf589baae6634a3
Author: Christian Hergert <chergert redhat com>
Date: Tue Jul 19 12:19:20 2022 -0700
plugins/buildui: fix initial runtime value
src/plugins/buildui/gbp-buildui-preferences-addin.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/plugins/buildui/gbp-buildui-preferences-addin.c
b/src/plugins/buildui/gbp-buildui-preferences-addin.c
index 5f5ff9260..153a5170d 100644
--- a/src/plugins/buildui/gbp-buildui-preferences-addin.c
+++ b/src/plugins/buildui/gbp-buildui-preferences-addin.c
@@ -200,6 +200,7 @@ add_runtiem_row (AdwPreferencesGroup *group,
"title", _("Runtime"),
"subtitle", _("The runtime is the environment used to run your application."),
"expression", expression,
+ "model", model,
NULL);
n_items = g_list_model_get_n_items (G_LIST_MODEL (model));
@@ -216,11 +217,8 @@ add_runtiem_row (AdwPreferencesGroup *group,
}
}
- /* TODO: need to get the title in sync initially */
-
g_object_bind_property (row, "selected-item", config, "runtime", 0);
- adw_combo_row_set_model (ADW_COMBO_ROW (row), G_LIST_MODEL (model));
adw_preferences_group_add (group, row);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]