summaryrefslogtreecommitdiffstats
path: root/panels/applications/cc-toggle-row.ui
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--panels/applications/cc-toggle-row.ui30
1 files changed, 30 insertions, 0 deletions
diff --git a/panels/applications/cc-toggle-row.ui b/panels/applications/cc-toggle-row.ui
new file mode 100644
index 0000000..8dea8f0
--- /dev/null
+++ b/panels/applications/cc-toggle-row.ui
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <template class="CcToggleRow" parent="GtkListBoxRow">
+ <property name="visible">True</property>
+ <property name="can-focus">True</property>
+ <property name="activatable">False</property>
+ <child>
+ <object class="GtkBox">
+ <property name="visible">1</property>
+ <property name="border-width">12</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkLabel" id="title">
+ <property name="visible">1</property>
+ <property name="xalign">0</property>
+ <property name="hexpand">1</property>
+ <property name="ellipsize">end</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSwitch" id="toggle">
+ <property name="visible">1</property>
+ <property name="valign">center</property>
+ <signal name="notify::active" handler="changed_cb" swapped="yes"/>
+ </object>
+ </child>
+ </object>
+ </child>
+ </template>
+</interface>