gnome-control-center/panels/region/cc-input-row.ui
Robert Ancell 66981da275 region: Make full widget for input rows
The row widgets are not full GtkWidgets. This means they are harder
to understand, use g_object_set_data which looses type safety and
cause the one .c file to be overly large.

Update this code to use a CcInputRow widget that uses GTK+ best
practice.
2018-09-11 10:40:27 +12:00

32 lines
1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk+" version="3.20"/>
<template class="CcInputRow" parent="GtkListBoxRow">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="activatable">True</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="border-width">18</property>
<child>
<object class="GtkLabel" id="name_label">
<property name="visible">True</property>
<property name="xalign">0.0</property>
<property name="hexpand">True</property>
</object>
</child>
<child>
<object class="GtkImage" id="icon_image">
<property name="visible">True</property>
<property name="icon_name">system-run-symbolic</property>
<style>
<class name="dim-label"/>
</style>
</object>
</child>
</object>
</child>
</template>
</interface>