gtk2/gtk/ui/gtklockbutton.ui
Matthias Clasen 1aeaa33e68 lockbutton: Fix up the template
I forgot to clean this up when switching to a stack.
2016-01-03 10:42:13 -05:00

46 lines
1.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<!-- interface-requires gtk+ 3.6 -->
<template class="GtkLockButton" parent="GtkButton">
<property name="visible">1</property>
<property name="can_focus">1</property>
<property name="receives_default">1</property>
<child>
<object class="GtkBox" id="box">
<property name="visible">1</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="spacing">6</property>
<child>
<object class="GtkImage" id="image">
<property name="visible">1</property>
<property name="icon_name">image-missing</property>
</object>
<packing>
<property name="fill">0</property>
</packing>
</child>
<child>
<object class="GtkStack" id="stack">
<property name="visible">1</property>
<child>
<object class="GtkLabel" id="label_lock">
<property name="visible">1</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Lock</property>
</object>
</child>
<child>
<object class="GtkLabel" id="label_unlock">
<property name="visible">1</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Unlock</property>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>