diff options
author | Fabiano FidĂȘncio <fidencio@redhat.com> | 2014-01-18 00:53:27 +0800 |
---|---|---|
committer | Fabiano FidĂȘncio <fidencio@redhat.com> | 2014-01-20 18:09:25 +0800 |
commit | 0044d1ed58855eb9e75cdde380b5ba98474bf145 (patch) | |
tree | a6522692feb1c26414b6824ec688f7fd72c20ba7 | |
parent | cebd622f5fb99da8d05cef9b600de3abdcdbe193 (diff) | |
download | gsoc2013-evolution-0044d1ed58855eb9e75cdde380b5ba98474bf145.tar gsoc2013-evolution-0044d1ed58855eb9e75cdde380b5ba98474bf145.tar.gz gsoc2013-evolution-0044d1ed58855eb9e75cdde380b5ba98474bf145.tar.bz2 gsoc2013-evolution-0044d1ed58855eb9e75cdde380b5ba98474bf145.tar.lz gsoc2013-evolution-0044d1ed58855eb9e75cdde380b5ba98474bf145.tar.xz gsoc2013-evolution-0044d1ed58855eb9e75cdde380b5ba98474bf145.tar.zst gsoc2013-evolution-0044d1ed58855eb9e75cdde380b5ba98474bf145.zip |
Bug #722415 - Memo does not support Start Date property
-rw-r--r-- | calendar/gui/dialogs/memo-page.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c index 12126a6fc0..28921bb44a 100644 --- a/calendar/gui/dialogs/memo-page.c +++ b/calendar/gui/dialogs/memo-page.c @@ -491,6 +491,11 @@ sensitize_widgets (MemoPage *mpage) action_group = comp_editor_get_action_group (editor, "individual"); gtk_action_group_set_sensitive (action_group, sensitize); + + if (e_client_check_capability (E_CLIENT (client), CAL_STATIC_CAPABILITY_NO_MEMO_START_DATE)) { + gtk_widget_hide (priv->start_label); + gtk_widget_hide (priv->start_date); + } } /* returns empty string rather than NULL because of simplicity of usage */ |