edit-dialog: improve titlebar button

Make it insensitive when the event is read-only, and add
a tooltip for users to learn what does the button do.
This commit is contained in:
Georges Basile Stavracas Neto
2016-07-06 18:54:59 -03:00
parent a2b6b478bb
commit 5cb2e86fa6
+2
View File
@@ -36,6 +36,8 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="popover">sources_popover</property>
<property name="sensitive" bind-source="GcalEditDialog" bind-property="writable" bind-flags="default" />
<property name="tooltip-text" translatable="yes">Click to select the event's agenda</property>
<style>
<class name="flat"/>
<class name="sources-button"/>