alarm-row: Remove GtkBox
Uses valign in all buttons, instead of using GtkBox
This commit is contained in:
committed by
Jean-François Fortin Tam
parent
de0ad92bc7
commit
57cb3a7650
@@ -2,29 +2,25 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<template class="GcalAlarmRow" parent="AdwActionRow">
|
<template class="GcalAlarmRow" parent="AdwActionRow">
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox">
|
<object class="GtkToggleButton" id="volume_button">
|
||||||
<property name="valign">center</property>
|
<property name="valign">center</property>
|
||||||
<property name="spacing">6</property>
|
<property name="icon-name">audio-volume-high-symbolic</property>
|
||||||
<child>
|
<property name="tooltip-text" translatable="yes">Toggles the sound of the alarm</property>
|
||||||
<object class="GtkToggleButton" id="volume_button">
|
<signal name="notify::active" handler="on_sound_toggle_changed_cb" object="GcalAlarmRow" swapped="no" />
|
||||||
<property name="icon-name">audio-volume-high-symbolic</property>
|
<style>
|
||||||
<property name="tooltip-text" translatable="yes">Toggles the sound of the alarm</property>
|
<class name="flat" />
|
||||||
<signal name="notify::active" handler="on_sound_toggle_changed_cb" object="GcalAlarmRow" swapped="no" />
|
</style>
|
||||||
<style>
|
</object>
|
||||||
<class name="flat" />
|
</child>
|
||||||
</style>
|
<child>
|
||||||
</object>
|
<object class="GtkButton" id="remove_button">
|
||||||
</child>
|
<property name="valign">center</property>
|
||||||
<child>
|
<property name="icon-name">edit-delete-symbolic</property>
|
||||||
<object class="GtkButton" id="remove_button">
|
<property name="tooltip-text" translatable="yes">Remove the alarm</property>
|
||||||
<property name="icon-name">edit-delete-symbolic</property>
|
<signal name="clicked" handler="on_remove_button_clicked_cb" object="GcalAlarmRow" swapped="no" />
|
||||||
<property name="tooltip-text" translatable="yes">Remove the alarm</property>
|
<style>
|
||||||
<signal name="clicked" handler="on_remove_button_clicked_cb" object="GcalAlarmRow" swapped="no" />
|
<class name="flat" />
|
||||||
<style>
|
</style>
|
||||||
<class name="flat" />
|
|
||||||
</style>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user