The C code tries to fetch and use 'check_image', but the UI definition calls it 'check', which throws a few warnings. Renaming it in the UI file is easier than in the C file, so I went with the former.
41 lines
1.5 KiB
XML
41 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<template class="CcLanguageRow" parent="GtkListBoxRow">
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="spacing">12</property>
|
|
<property name="margin-top">12</property>
|
|
<property name="margin-bottom">12</property>
|
|
<property name="margin-start">18</property>
|
|
<property name="margin-end">18</property>
|
|
<child>
|
|
<object class="GtkLabel" id="language_label">
|
|
<property name="visible">True</property>
|
|
<property name="xalign">0</property>
|
|
<property name="ellipsize">end</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkImage" id="check_image">
|
|
<property name="visible">False</property>
|
|
<property name="icon-name">object-select-symbolic</property>
|
|
<property name="icon-size">1</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="country_label">
|
|
<property name="visible">True</property>
|
|
<property name="xalign">1</property>
|
|
<property name="ellipsize">end</property>
|
|
<property name="hexpand">True</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|