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:
@@ -36,6 +36,8 @@
|
|||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="receives_default">True</property>
|
<property name="receives_default">True</property>
|
||||||
<property name="popover">sources_popover</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>
|
<style>
|
||||||
<class name="flat"/>
|
<class name="flat"/>
|
||||||
<class name="sources-button"/>
|
<class name="sources-button"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user