32 lines
1.2 KiB
XML
32 lines
1.2 KiB
XML
<?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="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" />
|
|
<style>
|
|
<class name="flat" />
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="remove_button">
|
|
<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" />
|
|
<style>
|
|
<class name="flat" />
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|