[gnome-builder] plugins/editorui: add background pattern combo to text editor tweaks



commit 57c9fa94581e183e194ac1965d7bde0517f2a22e
Author: Christian Hergert <chergert redhat com>
Date:   Sat Aug 13 11:20:20 2022 -0700

    plugins/editorui: add background pattern combo to text editor tweaks

 src/plugins/editorui/tweaks.ui | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
---
diff --git a/src/plugins/editorui/tweaks.ui b/src/plugins/editorui/tweaks.ui
index 56208d8f4..66d97dd67 100644
--- a/src/plugins/editorui/tweaks.ui
+++ b/src/plugins/editorui/tweaks.ui
@@ -61,6 +61,30 @@
                 </child>
               </object>
             </child>
+            <child>
+              <object class="IdeTweaksGroup" id="editor_page_style_group">
+                <child>
+                  <object class="IdeTweaksCombo" id="editor_grid_lines">
+                    <property name="title" translatable="yes">Background Pattern</property>
+                    <property name="subtitle" translatable="yes">Show a background pattern underneath source 
code</property>
+                    <property name="settings">settings_org_gnome_builder_editor</property>
+                    <property name="key">show-grid-lines</property>
+                    <child>
+                      <object class="IdeTweaksChoice">
+                        <property name="title" translatable="yes">No Pattern</property>
+                        <property name="action-target">false</property>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="IdeTweaksChoice">
+                        <property name="title" translatable="yes">Grid Lines</property>
+                        <property name="action-target">true</property>
+                      </object>
+                    </child>
+                  </object>
+                </child>
+              </object>
+            </child>
           </object>
         </child>
       </object>


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