diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2024-07-14 22:39:04 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2024-07-14 22:39:04 +0200 |
| commit | 9c1a9f41e2cef7f6e151a5f08367607e16d0f908 (patch) | |
| tree | d7abb8ab7e3ea86c920bbe0698233795ad96d171 /res/widgets/participant_list_row.ui | |
| parent | 05da3897f944f5775d25de2136ea985d4b0078eb (diff) | |
| download | turns-9c1a9f41e2cef7f6e151a5f08367607e16d0f908.tar.xz turns-9c1a9f41e2cef7f6e151a5f08367607e16d0f908.zip | |
app/ui: enable deletion of participants
Diffstat (limited to 'res/widgets/participant_list_row.ui')
| -rw-r--r-- | res/widgets/participant_list_row.ui | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/res/widgets/participant_list_row.ui b/res/widgets/participant_list_row.ui index e78f79b..b3cab2e 100644 --- a/res/widgets/participant_list_row.ui +++ b/res/widgets/participant_list_row.ui @@ -4,6 +4,7 @@ <!-- interface-name participant_list_item.ui --> <requires lib="gtk" version="4.14"/> <template class="gtkmm__CustomObject_participant_list_row" parent="GtkListBoxRow"> + <property name="activatable">False</property> <property name="child"> <object class="GtkBox"> <property name="css-classes">header</property> @@ -62,6 +63,17 @@ <object class="GtkBox"> <property name="valign">center</property> <child> + <object class="GtkButton" id="delete"> + <property name="icon-name">edit-delete-symbolic</property> + <!-- Custom object fragments --> + <property name="sensitive" bind-source="toggle_defeated" bind-property="active" bind-flags="sync-create|invert-boolean"/> + <style> + <class name="circular"/> + <class name="destructive-action"/> + </style> + </object> + </child> + <child> <object class="GtkButton" id="edit"> <property name="icon-name">document-edit-symbolic</property> <style> |
