[gnome-builder] plugins/platformui: remove network page
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] plugins/platformui: remove network page
- Date: Tue, 23 Aug 2022 01:06:03 +0000 (UTC)
commit e7f0d7f404a3180b30c4e0ec667e90c38ddad188
Author: Christian Hergert <chergert redhat com>
Date: Mon Aug 22 18:02:10 2022 -0700
plugins/platformui: remove network page
This isn't needed now that we can have the toggle in the SDK page.
src/plugins/buildui/gtk/menus.ui | 2 +-
src/plugins/platformui/tweaks.ui | 27 ---------------------------
2 files changed, 1 insertion(+), 28 deletions(-)
---
diff --git a/src/plugins/buildui/gtk/menus.ui b/src/plugins/buildui/gtk/menus.ui
index 1ec42a4c5..b0357836b 100644
--- a/src/plugins/buildui/gtk/menus.ui
+++ b/src/plugins/buildui/gtk/menus.ui
@@ -111,7 +111,7 @@
<attribute name="id">manage-sdks</attribute>
<attribute name="label" translatable="yes">Manage SDKs…</attribute>
<attribute name="action">app.preferences-page</attribute>
- <attribute name="target" type="s">'network_page'</attribute>
+ <attribute name="target" type="s">'sdk_page'</attribute>
</item>
</section>
</menu>
diff --git a/src/plugins/platformui/tweaks.ui b/src/plugins/platformui/tweaks.ui
index 70b2c7c80..b9e138180 100644
--- a/src/plugins/platformui/tweaks.ui
+++ b/src/plugins/platformui/tweaks.ui
@@ -7,12 +7,6 @@
<property name="application-only">true</property>
</object>
</child>
- <child>
- <object class="IdeTweaksSettings">
- <property name="schema-id">org.gnome.builder.build</property>
- <property name="application-only">true</property>
- </object>
- </child>
<child internal-child="visual_section">
<object class="IdeTweaksSection">
<child internal-child="appearance_page">
@@ -54,26 +48,5 @@
</child>
</object>
</child>
- <child internal-child="external_section">
- <object class="IdeTweaksSection">
- <child>
- <object class="IdeTweaksPage" id="network_page">
- <property name="icon-name">network-transmit-receive-symbolic</property>
- <property name="title" translatable="yes">Network</property>
- <child>
- <object class="IdeTweaksGroup">
- <child>
- <object class="IdeTweaksSwitch">
- <property name="title" translatable="yes">Allow Downloads when Metered</property>
- <property name="subtitle" translatable="yes">Allow the download of SDKs and dependencies
when on metered internet connections</property>
- <property
name="action-name">settings.org.gnome.builder.build.allow-network-when-metered</property>
- </object>
- </child>
- </object>
- </child>
- </object>
- </child>
- </object>
- </child>
</template>
</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]