2019-10-04 10:02:34 +05:30
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
|
|
|
<template class="CcListRow" parent="GtkListBoxRow">
|
|
|
|
<property name="visible">1</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox" id="box">
|
|
|
|
<property name="visible">1</property>
|
2021-10-19 20:53:12 -03:00
|
|
|
<property name="margin-start">12</property>
|
|
|
|
<property name="margin-end">12</property>
|
|
|
|
<property name="margin-top">12</property>
|
|
|
|
<property name="margin-bottom">12</property>
|
2019-10-04 10:02:34 +05:30
|
|
|
<property name="spacing">12</property>
|
|
|
|
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
|
|
|
|
<!-- Title -->
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="title">
|
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="xalign">0.0</property>
|
|
|
|
<property name="ellipsize">end</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<!-- Subtitle -->
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="subtitle">
|
|
|
|
<property name="visible">0</property>
|
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="xalign">0.0</property>
|
|
|
|
<property name="wrap-mode">word</property>
|
|
|
|
<property name="max-width-chars">42</property>
|
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
|
|
|
<attributes>
|
|
|
|
<attribute name="scale" value="0.83"/>
|
|
|
|
</attributes>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<!-- Secondary Label -->
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="secondary_label">
|
|
|
|
<property name="visible">1</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<property name="ellipsize">end</property>
|
|
|
|
<property name="selectable" bind-source="CcListRow" bind-property="activatable" bind-flags="sync-create|invert-boolean" />
|
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<!-- Icon -->
|
|
|
|
<child>
|
|
|
|
<object class="GtkImage" id="icon">
|
|
|
|
<property name="visible">0</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<style>
|
|
|
|
<class name="dim-label"/>
|
|
|
|
</style>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
<!-- Switch -->
|
|
|
|
<child>
|
|
|
|
<object class="GtkSwitch" id="enable_switch">
|
|
|
|
<property name="visible">0</property>
|
|
|
|
<property name="can-focus">0</property>
|
|
|
|
<property name="valign">center</property>
|
|
|
|
<signal name="notify::active" handler="cc_list_row_switch_active_cb" swapped="yes"/>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
|
|
|
</interface>
|