[gnome-builder/wip/vim] prefs: stub out some horrible UI for VIM preference.



commit ab61b9b26903160c124d379c1322fb25416ea0cc
Author: Christian Hergert <christian hergert me>
Date:   Fri Oct 3 02:59:52 2014 -0700

    prefs: stub out some horrible UI for VIM preference.
    
    Clearly, this needs a designer to come through and help us figure out
    what we want to do in here. it's going to grow out of control quick.

 src/resources/ui/gb-preferences-window.ui |   38 +++++++++++++++++++++++++++++
 1 files changed, 38 insertions(+), 0 deletions(-)
---
diff --git a/src/resources/ui/gb-preferences-window.ui b/src/resources/ui/gb-preferences-window.ui
index 9018b45..8d9c333 100644
--- a/src/resources/ui/gb-preferences-window.ui
+++ b/src/resources/ui/gb-preferences-window.ui
@@ -108,6 +108,32 @@
             <child>
               <object class="GtkGrid" id="editor_grid">
                 <property name="visible">True</property>
+                <child>
+                  <object class="GtkLabel" id="vim_label">
+                    <property name="visible">True</property>
+                    <property name="halign">start</property>
+                    <property name="hexpand">True</property>
+                    <property name="label" translatable="Yes">Enable VIM compatability mode</property>
+                  </object>
+                  <packing>
+                    <property name="left-attach">0</property>
+                    <property name="width">1</property>
+                    <property name="top-attach">0</property>
+                    <property name="height">1</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkSwitch" id="vim_switch">
+                    <property name="visible">True</property>
+                    <property name="active">False</property>
+                  </object>
+                  <packing>
+                    <property name="left-attach">1</property>
+                    <property name="width">1</property>
+                    <property name="top-attach">0</property>
+                    <property name="height">1</property>
+                  </packing>
+                </child>
               </object>
               <packing>
                 <property name="name">editor</property>
@@ -135,4 +161,16 @@
       <widget name="sidebar"/>
     </widgets>
   </object>
+  <object class="GtkSizeGroup">
+    <property name="mode">GTK_SIZE_GROUP_HORIZONTAL</property>
+    <widgets>
+      <widget name="vim_label"/>
+    </widgets>
+  </object>
+  <object class="GtkSizeGroup">
+    <property name="mode">GTK_SIZE_GROUP_HORIZONTAL</property>
+    <widgets>
+      <widget name="vim_switch"/>
+    </widgets>
+  </object>
 </interface>


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