[gnome-builder] plugins/projectui: use factory to create configuration pages
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] plugins/projectui: use factory to create configuration pages
- Date: Wed, 24 Aug 2022 00:49:04 +0000 (UTC)
commit 59733f8ad02345c830429fe8e01ba7a8182f9c68
Author: Christian Hergert <chergert redhat com>
Date: Tue Aug 23 17:46:52 2022 -0700
plugins/projectui: use factory to create configuration pages
Nothing in them yet, but this at least gets things into place where we can
extend the pages from other plugins.
src/plugins/projectui/tweaks.ui | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
---
diff --git a/src/plugins/projectui/tweaks.ui b/src/plugins/projectui/tweaks.ui
index 13d44ffdf..93384ab50 100644
--- a/src/plugins/projectui/tweaks.ui
+++ b/src/plugins/projectui/tweaks.ui
@@ -104,6 +104,22 @@
<child>
<object class="IdeTweaksFactory" id="config_factory">
<property name="model">Configurations</property>
+ <child>
+ <object class="IdeTweaksPage" id="config_page">
+ <binding name="icon-name">
+ <lookup name="icon-name" type="IdeRuntime">
+ <lookup name="runtime" type="IdeConfig">
+ <lookup name="item">config_factory</lookup>
+ </lookup>
+ </lookup>
+ </binding>
+ <binding name="title">
+ <lookup name="display-name" type="IdeConfig">
+ <lookup name="item">config_factory</lookup>
+ </lookup>
+ </binding>
+ </object>
+ </child>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]