[gnome-builder] plugins/editorui: add toggles for overview map



commit 806bb520d314fef666e93d7f08204cef089ae86c
Author: Christian Hergert <chergert redhat com>
Date:   Sat Aug 13 11:27:03 2022 -0700

    plugins/editorui: add toggles for overview map

 src/plugins/editorui/tweaks.ui | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
---
diff --git a/src/plugins/editorui/tweaks.ui b/src/plugins/editorui/tweaks.ui
index 66d97dd67..500928e8e 100644
--- a/src/plugins/editorui/tweaks.ui
+++ b/src/plugins/editorui/tweaks.ui
@@ -85,6 +85,36 @@
                 </child>
               </object>
             </child>
+            <child>
+              <object class="IdeTweaksGroup" id="editor_page_map_group">
+                <child>
+                  <object class="IdeTweaksCombo" id="editor_map">
+                    <property name="title" translatable="yes">Source Code Overview</property>
+                    <property name="subtitle" translatable="yes">Display an overview of source code next to 
the editor</property>
+                    <property name="settings">settings_org_gnome_builder_editor</property>
+                    <property name="key">map-policy</property>
+                    <child>
+                      <object class="IdeTweaksChoice">
+                        <property name="title" translatable="yes">Prefer Scrollbars</property>
+                        <property name="action-target">'never'</property>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="IdeTweaksChoice">
+                        <property name="title" translatable="yes">Always On</property>
+                        <property name="action-target">'always'</property>
+                      </object>
+                    </child>
+                    <child>
+                      <object class="IdeTweaksChoice">
+                        <property name="title" translatable="yes">Automatic</property>
+                        <property name="action-target">'auto'</property>
+                      </object>
+                    </child>
+                  </object>
+                </child>
+              </object>
+            </child>
           </object>
         </child>
       </object>


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