edit-dialog: correctly assign repeat widgets' sensitivity

Earlier repeat widgets were sensitive even when
the event selected was read-only. This patch corrects
this behavior and makes the repeat widgets insensitive
when the event is read-only.

https://bugzilla.gnome.org/show_bug.cgi?id=782755
This commit is contained in:
Yash Singh
2017-08-18 22:56:44 -03:00
committed by Georges Basile Stavracas Neto
parent bb58a3a82a
commit 29092fcfe6
+1
View File
@@ -437,6 +437,7 @@
<property name="margin-top">12</property>
<property name="hexpand">True</property>
<signal name="changed" handler="repeat_type_changed" object="GcalEditDialog" swapped="no"/>
<property name="sensitive" bind-source="GcalEditDialog" bind-property="writable" bind-flags="default" />
<items>
<item translatable="yes" id="no_repeat">No Repeat</item>
<item translatable="yes" id="daily">Daily</item>