event-editor: Demystify the read-only padlock icon

Non-technical users may not realize why they can not edit some events
from read-only subscribed remote calendars.

A symbolic padlock icon does not suffice to make this obvious.
This tooltip makes the UI self-documenting, and improves accessibility.
This commit is contained in:
Jean-François Fortin Tam
2024-05-01 15:01:39 +00:00
committed by Georges Basile Stavracas Neto
parent f332b5a076
commit b547db1170
@@ -19,6 +19,8 @@
<child>
<object class="GtkImage" id="lock">
<property name="visible" bind-source="GcalEventEditorDialog" bind-property="writable" bind-flags="default|invert-boolean|sync-create" />
<property name="tooltip-markup" translatable="yes">&lt;b&gt;This event is part of a read-only calendar&lt;/b&gt;
You cannot delete or change this event.</property>
<property name="icon_name">changes-prevent-symbolic</property>
</object>
</child>