event-detail: Grey out already added reminder in drop-down list
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
0a455d6fdf
commit
659fdca460
@@ -196,7 +196,7 @@ setup_alarms (GcalRemindersSection *self)
|
|||||||
|
|
||||||
for (j = 0; j < G_N_ELEMENTS (minutes_button); j++)
|
for (j = 0; j < G_N_ELEMENTS (minutes_button); j++)
|
||||||
{
|
{
|
||||||
if (minutes_button[i].minutes == minutes)
|
if (minutes_button[j].minutes == minutes)
|
||||||
gtk_widget_set_sensitive (WIDGET_FROM_OFFSET (minutes_button[j].button_offset), FALSE);
|
gtk_widget_set_sensitive (WIDGET_FROM_OFFSET (minutes_button[j].button_offset), FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user