reminders-section: fix reminder alarm toggle button states
Alarm toggle state are in three stages because we do not update both icon and active when pressed. we now update the icons to match their states.
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
2dab78b556
commit
420a126ddb
@@ -124,7 +124,7 @@ create_alarm (guint minutes)
|
||||
|
||||
alarm = e_cal_component_alarm_new ();
|
||||
e_cal_component_alarm_take_trigger (alarm, trigger);
|
||||
e_cal_component_alarm_set_action (alarm, E_CAL_COMPONENT_ALARM_DISPLAY);
|
||||
e_cal_component_alarm_set_action (alarm, E_CAL_COMPONENT_ALARM_AUDIO);
|
||||
|
||||
return alarm;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user