diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:45:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:45:20 +0000 |
commit | ae1c76ff830d146d41e88d6fba724c0a54bce868 (patch) | |
tree | 3c354bec95af07be35fc71a4b738268496f1a1c4 /panels/applications/cc-snap-row.ui | |
parent | Initial commit. (diff) | |
download | gnome-control-center-upstream.tar.xz gnome-control-center-upstream.zip |
Adding upstream version 1:43.6.upstream/1%43.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | panels/applications/cc-snap-row.ui | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/panels/applications/cc-snap-row.ui b/panels/applications/cc-snap-row.ui new file mode 100644 index 0000000..fed545f --- /dev/null +++ b/panels/applications/cc-snap-row.ui @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <object class="GtkListStore" id="slots_combo_model"> + <columns> + <!-- column-name slot --> + <column type="GObject"/> + <!-- column-name label --> + <column type="gchararray"/> + </columns> + </object> + <template class="CcSnapRow" parent="AdwActionRow"> + <property name="can-focus">True</property> + <property name="activatable">False</property> + <child> + <object class="GtkSwitch" id="slot_toggle"> + <property name="valign">center</property> + <signal name="notify::active" handler="switch_changed_cb" swapped="yes"/> + </object> + </child> + <child> + <object class="GtkComboBox" id="slots_combo"> + <property name="valign">center</property> + <property name="model">slots_combo_model</property> + <signal name="changed" handler="combo_changed_cb" swapped="yes"/> + <child> + <object class="GtkCellRendererText"> + <property name="ellipsize">end</property> + </object> + <attributes> + <attribute name="text">1</attribute> + </attributes> + </child> + </object> + </child> + </template> +</interface> |