[gnome-builder] plugins/buildui: add tweak for clear build log



commit 2dacf7ee69777a79e1dee0678747171e349f4c32
Author: Christian Hergert <chergert redhat com>
Date:   Thu Aug 18 11:16:30 2022 -0700

    plugins/buildui: add tweak for clear build log

 src/plugins/buildui/tweaks.ui | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/src/plugins/buildui/tweaks.ui b/src/plugins/buildui/tweaks.ui
index 2eebbbe00..11080767a 100644
--- a/src/plugins/buildui/tweaks.ui
+++ b/src/plugins/buildui/tweaks.ui
@@ -1,6 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <template class="IdeTweaks">
+    <child>
+      <object class="IdeTweaksSettings" id="settings_org_gnome_builder_build">
+        <property name="schema-id">org.gnome.builder.build</property>
+        <property name="application-only">true</property>
+      </object>
+    </child>
     <child internal-child="foundry_section">
       <object class="IdeTweaksSection">
         <child>
@@ -16,6 +22,13 @@
                     <property name="action-name">settings.org.gnome.builder.clear-cache-at-startup</property>
                   </object>
                 </child>
+                <child>
+                  <object class="IdeTweaksSwitch">
+                    <property name="title" translatable="yes">Clear Build Logs</property>
+                    <property name="subtitle" translatable="yes">Clear the build log history when a new 
build begins</property>
+                    <property 
name="action-name">settings.org.gnome.builder.build.clear-build-log-pane</property>
+                  </object>
+                </child>
               </object>
             </child>
           </object>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]