summaryrefslogtreecommitdiffstats
path: root/src/gs-lozenge.ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-lozenge.ui')
-rw-r--r--src/gs-lozenge.ui33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/gs-lozenge.ui b/src/gs-lozenge.ui
new file mode 100644
index 0000000..545d803
--- /dev/null
+++ b/src/gs-lozenge.ui
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <requires lib="gtk+" version="3.10"/>
+ <template class="GsLozenge" parent="GtkBox">
+ <property name="halign">center</property>
+ <property name="hexpand">False</property>
+ <property name="valign">center</property>
+ <style>
+ <class name="context-tile-lozenge"/>
+ </style>
+ <child>
+ <object class="GtkImage" id="image">
+ <property name="halign">center</property>
+ <property name="hexpand">True</property>
+ <!-- this is a placeholder: the icon is actually set in code -->
+ <property name="icon-name">safety-symbolic</property>
+ <property name="pixel-size">16</property>
+ <property name="visible">False</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label">
+ <property name="halign">center</property>
+ <property name="hexpand">True</property>
+ <!-- this is a placeholder: the text is actually set in code -->
+ <property name="label">20 MB</property>
+ <property name="visible">False</property>
+ <property name="xalign">0.5</property>
+ <property name="visible">False</property>
+ </object>
+ </child>
+ </template>
+</interface>