[gnome-calendar/wip/gbsneto/titlebar-selector] edit-dialog: improve titlebar button
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/wip/gbsneto/titlebar-selector] edit-dialog: improve titlebar button
- Date: Wed, 6 Jul 2016 21:53:28 +0000 (UTC)
commit d96d95d8caf8647083dd3046e70842a38caca889
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Jul 6 18:45:39 2016 -0300
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.
data/ui/edit-dialog.ui | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/data/ui/edit-dialog.ui b/data/ui/edit-dialog.ui
index ec597f9..8135a57 100644
--- a/data/ui/edit-dialog.ui
+++ b/data/ui/edit-dialog.ui
@@ -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"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]