[gnome-builder] environment: add ui file for environment



commit f112708d6222b37953c27e93284960fbd28137c5
Author: Christian Hergert <chergert redhat com>
Date:   Sun Feb 14 20:42:00 2016 -0800

    environment: add ui file for environment

 data/ui/ide-environment-editor-row.ui |   48 +++++++++++++++++++++++++++++++++
 libide/resources/libide.gresource.xml |    1 +
 2 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/data/ui/ide-environment-editor-row.ui b/data/ui/ide-environment-editor-row.ui
new file mode 100644
index 0000000..1a30ab7
--- /dev/null
+++ b/data/ui/ide-environment-editor-row.ui
@@ -0,0 +1,48 @@
+<interface>
+  <template class="IdeEnvironmentEditorRow" parent="GtkListBoxRow">
+    <child>
+      <object class="GtkBox">
+        <property name="orientation">horizontal</property>
+        <property name="spacing">12</property>
+        <property name="visible">true</property>
+        <child>
+          <object class="GtkEntry" id="key_entry">
+            <property name="has-frame">false</property>
+            <property name="visible">true</property>
+          </object>
+        </child>
+        <child>
+          <object class="GtkLabel" id="eq_label">
+            <property name="label">=</property>
+            <property name="visible">true</property>
+            <style>
+              <class name="dim-label"/>
+            </style>
+          </object>
+        </child>
+        <child>
+          <object class="GtkEntry" id="value_entry">
+            <property name="hexpand">true</property>
+            <property name="has-frame">false</property>
+            <property name="visible">true</property>
+          </object>
+        </child>
+        <child>
+          <object class="GtkButton" id="delete_button">
+            <property name="visible">true</property>
+            <style>
+              <class name="image-button"/>
+              <class name="flat"/>
+            </style>
+            <child>
+              <object class="GtkImage">
+                <property name="icon-name">list-remove-symbolic</property>
+                <property name="visible">true</property>
+              </object>
+            </child>
+          </object>
+        </child>
+      </object>
+    </child>
+  </template>
+</interface>
diff --git a/libide/resources/libide.gresource.xml b/libide/resources/libide.gresource.xml
index 6d9bc9e..46f7524 100644
--- a/libide/resources/libide.gresource.xml
+++ b/libide/resources/libide.gresource.xml
@@ -44,6 +44,7 @@
     <file alias="ide-editor-frame.ui">../../data/ui/ide-editor-frame.ui</file>
     <file alias="ide-editor-tweak-widget.ui">../../data/ui/ide-editor-tweak-widget.ui</file>
     <file alias="ide-editor-view.ui">../../data/ui/ide-editor-view.ui</file>
+    <file alias="ide-environment-editor-row.ui">../../data/ui/ide-environment-editor-row.ui</file>
     <file alias="ide-genesis-perspective.ui">../../data/ui/ide-genesis-perspective.ui</file>
     <file alias="ide-greeter-perspective.ui">../../data/ui/ide-greeter-perspective.ui</file>
     <file alias="ide-greeter-project-row.ui">../../data/ui/ide-greeter-project-row.ui</file>


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