alarm-row: Remove GtkBox

Uses valign in all buttons, instead of using GtkBox
This commit is contained in:
Hari Rana
2023-12-14 00:11:56 +00:00
committed by Jean-François Fortin Tam
parent de0ad92bc7
commit 57cb3a7650
+2 -6
View File
@@ -1,12 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GcalAlarmRow" parent="AdwActionRow">
<child>
<object class="GtkBox">
<property name="valign">center</property>
<property name="spacing">6</property>
<child>
<object class="GtkToggleButton" id="volume_button">
<property name="valign">center</property>
<property name="icon-name">audio-volume-high-symbolic</property>
<property name="tooltip-text" translatable="yes">Toggles the sound of the alarm</property>
<signal name="notify::active" handler="on_sound_toggle_changed_cb" object="GcalAlarmRow" swapped="no" />
@@ -17,6 +14,7 @@
</child>
<child>
<object class="GtkButton" id="remove_button">
<property name="valign">center</property>
<property name="icon-name">edit-delete-symbolic</property>
<property name="tooltip-text" translatable="yes">Remove the alarm</property>
<signal name="clicked" handler="on_remove_button_clicked_cb" object="GcalAlarmRow" swapped="no" />
@@ -25,7 +23,5 @@
</style>
</object>
</child>
</object>
</child>
</template>
</interface>